ui: enable service worker on assets host

This commit is contained in:
undefined committed 2024-08-09 14:17:14 +08:00
1 parent 57f744c833
commit ab356b3d80
2 files changed
+3 -1

No files matched your search

+1
View File
@@ -158,6 +158,7 @@ export function apply(ctx: Context) {
`https://${that.request.host}`,
SystemModel.get('server.url'),
SystemModel.get('server.cdn'),
...((SystemModel.get('server.assets') || '').split(',')).filter((i) => i),
],
domains: SystemModel.get('ui-default.domains') || [],
};