summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2018-12-18 19:53:18 +0100
committerJulius Härtl <jus@bitgrid.net>2018-12-19 07:41:25 +0100
commita3be28627364342ac3373075a0f4a7d1688c49f2 (patch)
tree857589a3b41b70dd385573b220cfeafec3d3f19c /settings
parentfb7840b283e3033b18869adf09cb2e66e4b2485d (diff)
downloadnextcloud-server-a3be28627364342ac3373075a0f4a7d1688c49f2.tar.gz
nextcloud-server-a3be28627364342ac3373075a0f4a7d1688c49f2.zip
Make setup check also pass with a 501 status
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'settings')
-rw-r--r--settings/js/admin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/settings/js/admin.js b/settings/js/admin.js
index 2f3cc0356c9..8c198bc7821 100644
--- a/settings/js/admin.js
+++ b/settings/js/admin.js
@@ -247,7 +247,7 @@ $(document).ready(function(){
// run setup checks then gather error messages
$.when(
OC.SetupChecks.checkWebDAV(),
- OC.SetupChecks.checkWellKnownUrl('/.well-known/webfinger', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true && !!oc_appconfig.core.public_webfinger, 200),
+ OC.SetupChecks.checkWellKnownUrl('/.well-known/webfinger', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true && !!oc_appconfig.core.public_webfinger, [200, 501]),
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(),