fix: indentation
This commit is contained in:
parent
59377e4676
commit
6619322053
1 changed files with 8 additions and 8 deletions
|
@ -1055,14 +1055,14 @@ Site.prototype.processHref = function(href) {
|
|||
if (domain) {
|
||||
parts = [scheme, domain, href];
|
||||
} else {
|
||||
domain = getProperty('domain.*');
|
||||
if (domain) {
|
||||
parts = [scheme, this.name, '.', domain, href];
|
||||
} else {
|
||||
var mountpoint = app.appsProperties.mountpoint;
|
||||
if (mountpoint === '/') mountpoint = ''; // Prevents double slashes
|
||||
parts = [scheme, req.data.http_host, mountpoint, href];
|
||||
}
|
||||
domain = getProperty('domain.*');
|
||||
if (domain) {
|
||||
parts = [scheme, this.name, '.', domain, href];
|
||||
} else {
|
||||
var mountpoint = app.appsProperties.mountpoint;
|
||||
if (mountpoint === '/') mountpoint = ''; // Prevents double slashes
|
||||
parts = [scheme, req.data.http_host, mountpoint, href];
|
||||
}
|
||||
}
|
||||
return parts.join('');
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue