]> source.dussan.org Git - nextcloud-server.git/commitdiff
returns 404 17058/head
authorMaxence Lange <maxence@artificial-owl.com>
Mon, 9 Sep 2019 11:06:08 +0000 (10:06 -0100)
committerMaxence Lange <maxence@artificial-owl.com>
Mon, 9 Sep 2019 11:06:08 +0000 (10:06 -0100)
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
public.php
settings/js/admin.js

index ae95624e8d915508ce4a6c9652f897d05fc87e99..43fbe29815ed66b2d2ba3fb8eb9f37400456f56c 100644 (file)
@@ -68,7 +68,7 @@ try {
        OC_App::loadApps(array('filesystem', 'logging'));
 
        if (!\OC::$server->getAppManager()->isInstalled($app)) {
-               http_response_code(501);
+               http_response_code(404);
                exit;
        }
        OC_App::loadApp($app);
index 725d38f1ee225b0cc33e25a02ed592693ce01261..d3c4040a888461995069228646e4714d1385d70a 100644 (file)
@@ -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, 501]),
+               OC.SetupChecks.checkWellKnownUrl('/.well-known/webfinger', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true && !!oc_appconfig.core.public_webfinger, [200, 404]),
                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.checkProviderUrl(OC.getRootPath() + '/ocm-provider/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),