diff options
Diffstat (limited to 'core/src/main.js')
-rw-r--r-- | core/src/main.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/main.js b/core/src/main.js index 54a7c276928..46fe5fa1718 100644 --- a/core/src/main.js +++ b/core/src/main.js @@ -35,6 +35,10 @@ import './globals.js' import './jquery/index.js' import { initCore } from './init.js' import { registerAppsSlideToggle } from './OC/apps.js' +import { getRequestToken } from '@nextcloud/auth' + +// eslint-disable-next-line camelcase +__webpack_nonce__ = btoa(getRequestToken()) window.addEventListener('DOMContentLoaded', function() { initCore() |