core: fix domain_join url generation

This commit is contained in:
undefined committed 2022-11-24 10:57:59 +08:00
1 parent f4eac56e92
commit 67cffe4dd1
1 file changed
+1
+1
View File
@@ -239,6 +239,7 @@ class DomainJoinApplicationsHandler extends ManageHandler {
delete this.response.body.expirations[domain.JOIN_EXPIRATION_KEEP_CURRENT];
}
this.response.body.url_prefix = (this.domain.host || [])[0] || system.get('server.url');
if (!this.response.body.url_prefix.endsWith('/')) this.response.body.url_prefix += '/';
this.response.template = 'domain_join_applications.html';
}