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) {
|
if (domain) {
|
||||||
parts = [scheme, domain, href];
|
parts = [scheme, domain, href];
|
||||||
} else {
|
} else {
|
||||||
domain = getProperty('domain.*');
|
domain = getProperty('domain.*');
|
||||||
if (domain) {
|
if (domain) {
|
||||||
parts = [scheme, this.name, '.', domain, href];
|
parts = [scheme, this.name, '.', domain, href];
|
||||||
} else {
|
} else {
|
||||||
var mountpoint = app.appsProperties.mountpoint;
|
var mountpoint = app.appsProperties.mountpoint;
|
||||||
if (mountpoint === '/') mountpoint = ''; // Prevents double slashes
|
if (mountpoint === '/') mountpoint = ''; // Prevents double slashes
|
||||||
parts = [scheme, req.data.http_host, mountpoint, href];
|
parts = [scheme, req.data.http_host, mountpoint, href];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return parts.join('');
|
return parts.join('');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue