mirror of
https://github.com/kanidm/kanidm.git
synced 2025-02-23 12:37:00 +01:00
Correct missing CSP header (#3177)
This commit is contained in:
parent
c96e9772c7
commit
fbbe10e295
|
@ -186,7 +186,7 @@ pub async fn create_https_server(
|
||||||
"frame-ancestors 'none'; ",
|
"frame-ancestors 'none'; ",
|
||||||
"img-src 'self' data:; ",
|
"img-src 'self' data:; ",
|
||||||
"worker-src 'none'; ",
|
"worker-src 'none'; ",
|
||||||
"script-src 'self'{};",
|
"script-src 'self' 'unsafe-eval'{};",
|
||||||
),
|
),
|
||||||
js_checksums
|
js_checksums
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue