chore: pre publish

This commit is contained in:
xiaojunnuo
2023-05-25 15:17:58 +08:00
parent 998200e570
commit 5556bc3a4b
23 changed files with 278 additions and 437 deletions
@@ -4,7 +4,9 @@ import { FlywayHistory } from 'midway-flyway-js/dist/entity';
import { MidwayConfig } from '@midwayjs/core';
import { UserEntity } from '../modules/authority/entity/user';
import { PipelineEntity } from '../modules/pipeline/entity/pipeline';
import * as dotenv from 'dotenv';
// load .env file in process.cwd
dotenv.config();
export default {
// use for cookie sign key, should change to your own and keep security
keys: process.env.CERTD_AUTH_JWT_KEYS,
@@ -16,6 +18,9 @@ export default {
default: {
prefix: '/',
dir: 'public',
alias: {
'/': '/index.html',
},
},
},
},