Skip to content

Commit

Permalink
Merge pull request #424 from mmuman/fix-409
Browse files Browse the repository at this point in the history
Fix: Propagate nonce properly to loaded script
  • Loading branch information
cwilby authored Mar 31, 2024
2 parents 1e2f5e1 + 75253d3 commit 2d05e29
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/personalSettings.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import Vue from 'vue'
import './bootstrap.js'
import PersonalSettings from './views/PersonalSettings.vue'

// CSP config for webpack dynamic chunk loading
// eslint-disable-next-line
__webpack_nonce__ = btoa(OC.requestToken)

new Vue({ // eslint-disable-line no-new
el: '#workflow_media_converter-personalSettings',
render: h => h(PersonalSettings),
Expand Down

0 comments on commit 2d05e29

Please sign in to comment.