aboutsummaryrefslogtreecommitdiff
path: root/radicale_infcloud/web
diff options
context:
space:
mode:
authorUnrud <unrud@outlook.com>2022-01-19 00:59:41 +0100
committerUnrud <unrud@outlook.com>2022-01-19 01:07:58 +0100
commit4a2fd687d7c9c815419bd6d0897085d05cd50fe0 (patch)
tree8065be05205bd39b033834c5d0b074e0865a32dd /radicale_infcloud/web
parentAdd note for refresh bug (diff)
downloadradicaleinfcloud-4a2fd687d7c9c815419bd6d0897085d05cd50fe0.tar.gz
radicaleinfcloud-4a2fd687d7c9c815419bd6d0897085d05cd50fe0.tar.bz2
radicaleinfcloud-4a2fd687d7c9c815419bd6d0897085d05cd50fe0.zip
Update for Radicale 3.1.1
Diffstat (limited to 'radicale_infcloud/web')
-rw-r--r--radicale_infcloud/web/config.js4
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,
bgstack15