Skip to content

Commit 582414f

Browse files
committed
chore: Fix webpack chunk loading
Signed-off-by: Julius Härtl <[email protected]>
1 parent dcabf9a commit 582414f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/main.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ import App from './App.vue'
33
import router from './router.js'
44
import store from './store.js'
55

6+
__webpack_nonce__ = btoa(OC.requestToken) // eslint-disable-line
7+
__webpack_public_path__ = OC.linkTo('notes', 'js/') // eslint-disable-line
8+
69
Vue.mixin({ methods: { t, n } })
710

811
// Make sure that the filesClient is available in the global scope used by the sidebar

0 commit comments

Comments
 (0)