mirror of
https://github.com/certd/certd.git
synced 2026-04-24 04:17:25 +08:00
chore: pre publish
This commit is contained in:
@@ -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',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user