mirror of
https://github.com/certd/certd.git
synced 2025-11-25 09:10:11 +08:00
chore:
This commit is contained in:
@@ -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('加载插件完成');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user