Skip to content

Commit 3de1b8f

Browse files
authored
Merge pull request #4843 from nextcloud/bugfix/csp-error
2 parents 211fced + cf9af06 commit 3de1b8f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/init.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import { registerFileListHeaders, registerDavProperty } from '@nextcloud/files'
22
import { loadState } from '@nextcloud/initial-state'
33
import { FilesWorkspaceHeader } from './helpers/files.js'
4+
import { linkTo } from '@nextcloud/router'
5+
6+
__webpack_nonce__ = window.btoa(OC.requestToken) // eslint-disable-line
7+
__webpack_public_path__ = linkTo('text', 'js/') // eslint-disable-line
48

59
const workspaceAvailable = loadState('text', 'workspace_available')
610

0 commit comments

Comments
 (0)