fix(pwa): add manifest-src to CSP (#2428)

zio/stable
Joaquín Sánchez 2023-10-12 16:57:52 +02:00 committed by GitHub
parent 77a3bd833d
commit 1a0e83365a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -239,6 +239,7 @@ export default defineNuxtConfig({
'form-action': ['\'none\''],
'frame-ancestors': ['\'none\''],
'img-src': ['\'self\'', 'https:', 'http:', 'data:', 'blob:'],
'manifest-src': ['\'self\''],
'media-src': ['\'self\'', 'https:', 'http:'],
'object-src': ['\'none\''],
'script-src': ['\'self\'', '\'unsafe-inline\'', '\'wasm-unsafe-eval\''],