mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
ui: fix cachable host generation
This commit is contained in:
1 parent
fc7e57cb8c
commit
7cee2eae4e
2 files changed
+3
-2
No files matched your search
@@ -166,7 +166,8 @@ class SWConfigHandler extends ResourceHandler {
|
||||
this.response.body = {
|
||||
preload: SystemModel.get('ui-default.preload'),
|
||||
hosts: [
|
||||
`${this.request.method}://${this.request.host}`,
|
||||
`http://${this.request.host}`,
|
||||
`https://${this.request.host}`,
|
||||
SystemModel.get('server.url'),
|
||||
SystemModel.get('server.cdn'),
|
||||
],
|
||||
|
||||
Reference in new issue
Block a user