Merge pull request #21246 from nextcloud/enh/js/maintenance_no_oc_import
Do not import the full OC since we don't need it
This commit is contained in:
commit
ef96eff9cb
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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')
|
||||
|
|
Loading…
Reference in New Issue