From 3d74ed85ff32d2e807c26e59c20352c3f94cf19e Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Thu, 10 Aug 2023 14:25:46 +0200 Subject: feat: Add new Vue FilePicker from @nextcloud/dialogs and use it by default. Still providing the legacy one until the Vue FilePicker is out of beta. Pin beta releases so we do not get version conflicts. Signed-off-by: Ferdinand Thiessen --- core/src/main.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'core/src/main.js') 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() -- cgit v1.2.3