Bladeren bron

Do not import the full OC since we don't need it

Import what we need. Saves off a bunch of bytes of the bundle (600
kilobytes to be exact)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
tags/v20.0.0beta1
Roeland Jago Douma 4 jaren geleden
bovenliggende
commit
22c00295d8
No account linked to committer's email address

+ 2
- 2
core/js/dist/files_client.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 1
core/js/dist/files_fileinfo.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 1
core/js/dist/files_iedavclient.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 5
- 5
core/js/dist/install.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 1
core/js/dist/install.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 31
- 31
core/js/dist/login.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 1
core/js/dist/login.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 41
- 41
core/js/dist/main.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 1
core/js/dist/main.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 512
core/js/dist/maintenance.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 1
core/js/dist/maintenance.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 2
- 2
core/js/dist/recommendedapps.js
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 1
- 1
core/js/dist/recommendedapps.js.map
Diff onderdrukt omdat het te groot bestand
Bestand weergeven


+ 2
- 3
core/src/maintenance.js Bestand weergeven

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

Laden…
Annuleren
Opslaan