ui: allow using ui.name

This commit is contained in:
undefined committed 2021-07-31 15:18:19 +08:00
1 parent bb67a39e58
commit 588fd0e1fb
14 files changed
+20 -16

No files matched your search

+1 -1
View File
@@ -71,7 +71,7 @@ class UiSettingsHandler extends Handler {
this.response.body = await this.renderHTML('extra.css', {
nav_logo_dark,
nav_logo_dark_2x,
...ddoc,
...(ddoc.ui || {}),
});
this.response.type = 'text/css';
this.ctx.set('nolog', '1');