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