returns 404
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
This commit is contained in:
parent
3f03cc7733
commit
c01f99904d
|
@ -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);
|
||||
|
|
|
@ -248,7 +248,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),
|
||||
|
|
Loading…
Reference in New Issue