aboutsummaryrefslogtreecommitdiffstats
path: root/apps/weather_status
diff options
context:
space:
mode:
authorFerdinand Thiessen <opensource@fthiessen.de>2024-08-13 17:54:47 +0200
committerFerdinand Thiessen <opensource@fthiessen.de>2024-08-13 17:54:47 +0200
commitea021df9fa5e91006a4dabdb330f780c7e1e12cf (patch)
tree634a4c55db904dde477b46e0b5e5b5034631f538 /apps/weather_status
parent3e409fd34208afb69b270076e1f503c10101650a (diff)
downloadnextcloud-server-ea021df9fa5e91006a4dabdb330f780c7e1e12cf.tar.gz
nextcloud-server-ea021df9fa5e91006a4dabdb330f780c7e1e12cf.zip
chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Diffstat (limited to 'apps/weather_status')
-rw-r--r--apps/weather_status/src/weather-status.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/weather_status/src/weather-status.js b/apps/weather_status/src/weather-status.js
index 5f6f258da04..45c73b87e4a 100644
--- a/apps/weather_status/src/weather-status.js
+++ b/apps/weather_status/src/weather-status.js
@@ -3,12 +3,12 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
+import { getCSPNonce } from '@nextcloud/auth'
import Vue from 'vue'
-import { getRequestToken } from '@nextcloud/auth'
import App from './App.vue'
// eslint-disable-next-line camelcase
-__webpack_nonce__ = btoa(getRequestToken())
+__webpack_nonce__ = getCSPNonce()
Vue.prototype.t = t