mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-25 02:36:21 +03:00
fix: CSP for shiki
This commit is contained in:
parent
40c0afb09d
commit
88080573db
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ export default defineNuxtConfig({
|
||||||
'img-src': ['\'self\'', 'https:', 'http:', 'data:'],
|
'img-src': ['\'self\'', 'https:', 'http:', 'data:'],
|
||||||
'media-src': ['\'self\'', 'https:', 'http:'],
|
'media-src': ['\'self\'', 'https:', 'http:'],
|
||||||
'object-src': ['\'none\''],
|
'object-src': ['\'none\''],
|
||||||
'script-src': ['\'self\'', '\'unsafe-inline\''],
|
'script-src': ['\'self\'', '\'unsafe-inline\'', '\'wasm-unsafe-eval\''],
|
||||||
'script-src-attr': ['\'none\''],
|
'script-src-attr': ['\'none\''],
|
||||||
'style-src': ['\'self\'', '\'unsafe-inline\''],
|
'style-src': ['\'self\'', '\'unsafe-inline\''],
|
||||||
'upgrade-insecure-requests': true,
|
'upgrade-insecure-requests': true,
|
||||||
|
|
Loading…
Reference in a new issue