summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-10-10 10:40:30 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-10-10 10:41:02 +0200
commitb8d54bd53a70f6303c7c80d38a12f3ef270a8450 (patch)
treef380e6c119550413e0f7aeb1b3e237408f9a793b /settings
parent7c26bbbd82cc24b6528adf743f5e9a75dc37edf6 (diff)
downloadnextcloud-server-b8d54bd53a70f6303c7c80d38a12f3ef270a8450.tar.gz
nextcloud-server-b8d54bd53a70f6303c7c80d38a12f3ef270a8450.zip
Fix a misleading setup check for .well-known/caldav & carddav
The problem is that the version without the slash is the correct one. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/admin.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 6ac569f2a37..de5bc2b9537 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -248,8 +248,8 @@ $(document).ready(function(){
// run setup checks then gather error messages
$.when(
OC.SetupChecks.checkWebDAV(),
- OC.SetupChecks.checkWellKnownUrl('/.well-known/caldav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
- OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
+ OC.SetupChecks.checkWellKnownUrl('/.well-known/caldav', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
+ OC.SetupChecks.checkWellKnownUrl('/.well-known/carddav', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
OC.SetupChecks.checkSetup(),
OC.SetupChecks.checkGeneric(),
OC.SetupChecks.checkDataProtected()