mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
core: use domain.host for default
This commit is contained in:
1 parent
cc0fc9e5b3
commit
90579a81ed
7 files changed
+13
-7
No files matched your search
@@ -219,7 +219,7 @@ class DomainJoinApplicationsHandler extends ManageHandler {
|
||||
if (!this.response.body.joinSettings) {
|
||||
delete this.response.body.expirations[domain.JOIN_EXPIRATION_KEEP_CURRENT];
|
||||
}
|
||||
this.response.body.url_prefix = system.get('server.url');
|
||||
this.response.body.url_prefix = (this.domain.host || [])[0] || system.get('server.url');
|
||||
this.response.body.path = [
|
||||
['Hydro', 'homepage'],
|
||||
['domain', null],
|
||||
|
||||
Reference in new issue
Block a user