mirror of https://github.com/certd/certd
chore: pre publish
parent
e5ec9f4b62
commit
98ee7fcd8c
|
@ -17,3 +17,5 @@ run/
|
|||
/pnpm-lock.yaml
|
||||
.serverless
|
||||
data
|
||||
public
|
||||
!public/.gitignore
|
||||
|
|
|
@ -40,6 +40,7 @@
|
|||
"@midwayjs/i18n": "^3.9.0",
|
||||
"@midwayjs/koa": "^3.9.0",
|
||||
"@midwayjs/logger": "^2.17.0",
|
||||
"@midwayjs/static-file": "^3.11.6",
|
||||
"@midwayjs/typeorm": "^3.9.5",
|
||||
"@midwayjs/validate": "^3.9.0",
|
||||
"cache-manager": "^3.6.3",
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -13,11 +13,11 @@ import { ReportMiddleware } from './middleware/report';
|
|||
import { GlobalExceptionMiddleware } from './middleware/global-exception';
|
||||
import { PreviewMiddleware } from './middleware/preview';
|
||||
import { AuthorityMiddleware } from './middleware/authority';
|
||||
|
||||
import * as staticFile from '@midwayjs/static-file';
|
||||
import * as cron from './plugins/cron';
|
||||
|
||||
@Configuration({
|
||||
imports: [koa, orm, cache, flyway, validateComp, cron],
|
||||
imports: [koa, orm, cache, flyway, validateComp, cron,staticFile],
|
||||
importConfigs: [
|
||||
{
|
||||
default: defaultConfig,
|
||||
|
|
Loading…
Reference in New Issue