mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
Don't replace path of URLs
This commit is contained in:
parent
5812d63f82
commit
9bdf747902
@ -125,7 +125,7 @@ function start(configName, options, callback) {
|
||||
for (var s in settings) {
|
||||
if (settings[s])
|
||||
settings[s].baseUrl = settings[s].baseUrl
|
||||
&& settings[s].baseUrl.replace(/[^./]+\.[^.]+$/, argv.domain);
|
||||
&& settings[s].baseUrl.replace(/[^./]+\.[^.\/]+/, argv.domain);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user