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
@@ -15,10 +15,7 @@ import { PreviewMiddleware } from './middleware/preview';
import { AuthorityMiddleware } from './middleware/authority';
import * as staticFile from '@midwayjs/static-file';
import * as cron from './plugins/cron';
import * as dotenv from 'dotenv';
// load .env file in process.cwd
dotenv.config();
@Configuration({
imports: [koa, orm, cache, flyway, validateComp, cron, staticFile],
importConfigs: [