added CSP

This commit is contained in:
Chris Kruining 2024-11-07 09:49:21 +01:00
parent dc30ebb35e
commit 3a79fd4488
No known key found for this signature in database
GPG key ID: EB894A3560CCCAD2
2 changed files with 39 additions and 17 deletions

View file

@ -3,6 +3,9 @@ import { VitePWA } from 'vite-plugin-pwa'
export default defineConfig({
vite: {
html: {
cspNonce: 'KAAS_IS_AWESOME',
},
plugins: [
VitePWA({
mode: 'development',