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