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:
Roeland Jago Douma 2020-06-05 13:01:17 +02:00 committed by GitHub
commit ef96eff9cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 121 additions and 633 deletions

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

92
core/js/dist/login.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

112
core/js/dist/main.js vendored

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

View File

@ -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')