diff options
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/maintenance.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/src/maintenance.js b/core/src/maintenance.js index 70b51f7cebc..de4315d32a2 100644 --- a/core/src/maintenance.js +++ b/core/src/maintenance.js @@ -20,10 +20,9 @@ */ import Axios from '@nextcloud/axios' +import { getRootUrl } from '@nextcloud/router' -import OC from './OC/index' - -const url = `${OC.getRootPath()}/status.php` +const url = getRootUrl() + '/status.php' const check = () => { console.info('checking the Nextcloud maintenance status') |