diff options
Diffstat (limited to 'radicale_infcloud/web/config.js')
-rw-r--r-- | radicale_infcloud/web/config.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/radicale_infcloud/web/config.js b/radicale_infcloud/web/config.js index 560c1d1..ca1badf 100644 --- a/radicale_infcloud/web/config.js +++ b/radicale_infcloud/web/config.js @@ -337,9 +337,7 @@ var globalEnableDevelBuilds=true; // port, ... (client installed into Davical "htdocs" subdirectory; // works "out of the box", no additional setup required): var globalNetworkCheckSettings={ - href: location.protocol+'//'+location.hostname+ - (location.port ? ':'+location.port: '')+ - location.pathname.replace(RegExp('(/+[^/]+/*){2}(index\.html)?$'),'')+'/', + href: (new URL('../..', location.href)).href, timeOut: 90000, lockTimeOut: 10000, checkContentType: true, |