1
0
Fork 1
mirror of https://github.com/elk-zone/elk.git synced 2024-11-19 23:40:07 +00:00

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

This commit is contained in:
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

View file

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