diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-06-25 17:16:09 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2019-06-25 17:16:09 +0200 |
commit | 4758947a4b87aabc93b7b532a6afd815d514b0ce (patch) | |
tree | 43d03c515c8916cf9e4f34de58dba3ccdfc5f9a2 /src/main.js | |
parent | 2260ed3324e694d50c1fac935792d26238011fe8 (diff) |
Remove usage of nextcloud-server
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'src/main.js')
-rw-r--r-- | src/main.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.js b/src/main.js index daa7bdfc..021ef966 100644 --- a/src/main.js +++ b/src/main.js @@ -28,7 +28,8 @@ import App from './App' import router from './router' import store from './store' import { sync } from 'vuex-router-sync' -import { generateFilePath } from 'nextcloud-server/dist/router' +import { generateFilePath } from 'nextcloud-router' +import { getRequestToken } from 'nextcloud-auth' /** GLOBAL COMPONENTS AND DIRECTIVE */ import { Actions, DatetimePicker, Multiselect, PopoverMenu, Modal } from 'nextcloud-vue' @@ -38,7 +39,7 @@ import VueClipboard from 'vue-clipboard2' // CSP config for webpack dynamic chunk loading // eslint-disable-next-line -__webpack_nonce__ = btoa(OC.requestToken) +__webpack_nonce__ = btoa(getRequestToken()) // Correct the root of the app for chunk loading // OC.linkTo matches the apps folders |