mirror of https://github.com/certd/certd
chore:
parent
5cd61c4c02
commit
9b1d822b5b
|
@ -26,11 +26,11 @@ process.on('uncaughtException', error => {
|
||||||
});
|
});
|
||||||
|
|
||||||
@Configuration({
|
@Configuration({
|
||||||
// detectorOptions: {
|
detectorOptions: {
|
||||||
// ignore: [
|
ignore: [
|
||||||
// '**/plugins/**'
|
'**/plugins/**'
|
||||||
// ]
|
]
|
||||||
// },
|
},
|
||||||
imports: [
|
imports: [
|
||||||
koa,
|
koa,
|
||||||
orm,
|
orm,
|
||||||
|
|
|
@ -12,6 +12,7 @@ export class AutoBLoadPlugins {
|
||||||
@Init()
|
@Init()
|
||||||
async init() {
|
async init() {
|
||||||
logger.info('加载插件开始');
|
logger.info('加载插件开始');
|
||||||
|
await import("../../plugins/index.js")
|
||||||
await this.pluginService.registerFromDb()
|
await this.pluginService.registerFromDb()
|
||||||
logger.info('加载插件完成');
|
logger.info('加载插件完成');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue