mirror of
https://github.com/certd/certd.git
synced 2026-05-18 06:17:31 +08:00
perf: 优化cdnfly插件,支持自动匹配域名部署
This commit is contained in:
@@ -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('加载插件完成');
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user