]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix setup checks for ocm/ocs-provider 14790/head
authorMorris Jobke <hey@morrisjobke.de>
Thu, 21 Mar 2019 13:26:59 +0000 (14:26 +0100)
committerMorris Jobke <hey@morrisjobke.de>
Thu, 21 Mar 2019 13:26:59 +0000 (14:26 +0100)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
settings/js/admin.js

index ae6b2262c44ae788948d8bf8530cdfe2792ce95f..8c27e125f57e5e5994f3843dfb11d86c165f38b2 100644 (file)
@@ -251,8 +251,8 @@ $(document).ready(function(){
                        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.checkProviderUrl('/ocm-provider/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
-                       OC.SetupChecks.checkProviderUrl('/ocs-provider/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
+                       OC.SetupChecks.checkProviderUrl(OC.getRootPath() + '/ocm-provider/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
+                       OC.SetupChecks.checkProviderUrl(OC.getRootPath() + '/ocs-provider/', oc_defaults.docPlaceholderUrl, $('#postsetupchecks').data('check-wellknown') === true),
                        OC.SetupChecks.checkSetup(),
                        OC.SetupChecks.checkGeneric(),
                        OC.SetupChecks.checkWOFF2Loading(OC.filePath('core', '', 'fonts/Nunito-Regular.woff2'), oc_defaults.docPlaceholderUrl),