add support for config migration

This commit is contained in:
undefined committed 2025-03-16 01:13:08 +08:00
1 parent e0628c6197
commit f5eab3b87b
14 files changed
+206 -151

No files matched your search

+1 -1
View File
@@ -252,7 +252,7 @@ export class TemplateService extends Service {
}
async [Service.setup]() {
const pending = global.addons;
const pending = Object.values(global.addons);
const logger = this.ctx.logger('template');
for (const i of pending) {
const p = locateFile(i, ['template', 'templates']);