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