mirror of https://github.com/certd/certd
perf: 优化cdnfly插件,支持自动匹配域名部署
parent
8087524bef
commit
afd59e9933
|
@ -65,7 +65,7 @@ export function createRemoteSelectInputDefine(opts?: {
|
||||||
watches: [certDomainsInputKey, accessIdInputKey, ...watches],
|
watches: [certDomainsInputKey, accessIdInputKey, ...watches],
|
||||||
},
|
},
|
||||||
rules: opts?.rules,
|
rules: opts?.rules,
|
||||||
required: true,
|
required: opts.required ?? true,
|
||||||
mergeScript: `
|
mergeScript: `
|
||||||
return {
|
return {
|
||||||
component:{
|
component:{
|
||||||
|
|
|
@ -13,6 +13,7 @@ export class AutoBLoadPlugins {
|
||||||
async init() {
|
async init() {
|
||||||
logger.info('加载插件开始');
|
logger.info('加载插件开始');
|
||||||
await this.pluginService.registerFromLocal("./metadata")
|
await this.pluginService.registerFromLocal("./metadata")
|
||||||
|
await import("../../plugins/index.js")
|
||||||
await this.pluginService.registerFromDb()
|
await this.pluginService.registerFromDb()
|
||||||
logger.info('加载插件完成');
|
logger.info('加载插件完成');
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue