mirror of
https://github.com/certd/certd.git
synced 2026-05-15 12:37:30 +08:00
feat: 从yaml文件注册插件
This commit is contained in:
@@ -12,7 +12,7 @@ export class AutoBLoadPlugins {
|
||||
@Init()
|
||||
async init() {
|
||||
logger.info('加载插件开始');
|
||||
await import("../../plugins/index.js")
|
||||
await this.pluginService.registerFromLocal("./metadata")
|
||||
await this.pluginService.registerFromDb()
|
||||
logger.info('加载插件完成');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user