perf: 优化cdnfly插件,支持自动匹配域名部署

pull/409/head
xiaojunnuo 2025-04-28 00:55:39 +08:00
parent 8087524bef
commit afd59e9933
2 changed files with 2 additions and 1 deletions

View File

@ -65,7 +65,7 @@ export function createRemoteSelectInputDefine(opts?: {
watches: [certDomainsInputKey, accessIdInputKey, ...watches],
},
rules: opts?.rules,
required: true,
required: opts.required ?? true,
mergeScript: `
return {
component:{

View File

@ -13,6 +13,7 @@ export class AutoBLoadPlugins {
async init() {
logger.info('加载插件开始');
await this.pluginService.registerFromLocal("./metadata")
await import("../../plugins/index.js")
await this.pluginService.registerFromDb()
logger.info('加载插件完成');