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