Correct missing CSP header (#3177)

This commit is contained in:
Firstyear 2024-11-05 14:48:11 +10:00 committed by GitHub
parent c96e9772c7
commit fbbe10e295
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
); );