ui: new config page

This commit is contained in:
undefined committed 2025-03-08 18:06:16 +08:00
1 parent d009eb4147
commit 0aecafcd00
8 files changed
+179 -51

No files matched your search

+1 -1
View File
@@ -74,7 +74,7 @@ class MarkdownHandler extends Handler {
class SystemConfigSchemaHandler extends Handler {
async get() {
const schema = convert(Schema.intersect(this.ctx.config.settings) as any, true);
const schema = convert(Schema.intersect(this.ctx.get('config')!.settings) as any, true);
this.response.body = schema;
}
}