summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2019-01-04 17:08:04 +0100
committerGitHub <noreply@github.com>2019-01-04 17:08:04 +0100
commit0aa30b76de6879ac62883962b7cd90b32ef14f48 (patch)
treea02f1d6db80b9258561553af007f2178806b2760 /settings
parent9134ef08ec0b92e2c378b6c6f8f450dd6a4d9bb0 (diff)
parenta3be28627364342ac3373075a0f4a7d1688c49f2 (diff)
downloadnextcloud-server-0aa30b76de6879ac62883962b7cd90b32ef14f48.tar.gz
nextcloud-server-0aa30b76de6879ac62883962b7cd90b32ef14f48.zip
Merge pull request #13134 from nextcloud/bugfix/13088/404-instead-of-exception
returns a 404 instead of exception if app is not installed - #13088
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(),