mirror of
https://github.com/nextcloud/server.git
synced 2026-02-26 03:11:28 -05:00
fix(theming): Add __webpack_nounce__ to support async chunks like the filepicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
ea090a30ad
commit
4a558dbb36
8 changed files with 17 additions and 9 deletions
|
|
@ -23,6 +23,10 @@
|
|||
import Vue from 'vue'
|
||||
import App from './AdminTheming.vue'
|
||||
import { refreshStyles } from './helpers/refreshStyles.js'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
|
||||
// eslint-disable-next-line camelcase
|
||||
__webpack_nonce__ = btoa(getRequestToken())
|
||||
|
||||
Vue.prototype.OC = OC
|
||||
Vue.prototype.t = t
|
||||
|
|
|
|||
|
|
@ -23,6 +23,10 @@
|
|||
import Vue from 'vue'
|
||||
import App from './UserThemes.vue'
|
||||
import { refreshStyles } from './helpers/refreshStyles.js'
|
||||
import { getRequestToken } from '@nextcloud/auth'
|
||||
|
||||
// eslint-disable-next-line camelcase
|
||||
__webpack_nonce__ = btoa(getRequestToken())
|
||||
|
||||
Vue.prototype.OC = OC
|
||||
Vue.prototype.t = t
|
||||
|
|
|
|||
4
dist/core-common.js
vendored
4
dist/core-common.js
vendored
File diff suppressed because one or more lines are too long
2
dist/core-common.js.map
vendored
2
dist/core-common.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/theming-admin-theming.js
vendored
4
dist/theming-admin-theming.js
vendored
File diff suppressed because one or more lines are too long
2
dist/theming-admin-theming.js.map
vendored
2
dist/theming-admin-theming.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/theming-personal-theming.js
vendored
4
dist/theming-personal-theming.js
vendored
File diff suppressed because one or more lines are too long
2
dist/theming-personal-theming.js.map
vendored
2
dist/theming-personal-theming.js.map
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue