From d659f7d17b2e85a32049d093d2a65173d5fab12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Fri, 12 Jul 2024 07:15:10 +0200 Subject: [PATCH] chore: Fix webpack chunk loading MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Julius Härtl --- src/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main.js b/src/main.js index 03643ef96..77a93de88 100644 --- a/src/main.js +++ b/src/main.js @@ -3,6 +3,9 @@ import App from './App.vue' import router from './router.js' import store from './store.js' +__webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-line +__webpack_public_path__ = OC.linkTo('notes', 'js/') // eslint-disable-line + Vue.mixin({ methods: { t, n } }) // Make sure that the filesClient is available in the global scope used by the sidebar