Add more Content-Security-Policy values

Can be checked on https://csp-evaluator.withgoogle.com/
This commit is contained in:
Hoang Nguyen 2023-12-29 00:00:00 +07:00
parent a015e29ea8
commit cb9dd8c26d
Signed by: folliehiyuki
GPG key ID: B0567C20730E9B11

View file

@ -4,4 +4,4 @@
X-DNS-Prefetch-Control: off X-DNS-Prefetch-Control: off
Referrer-Policy: no-referrer Referrer-Policy: no-referrer
Permissions-Policy: interest-cohort=(), geolocation=(), camera=(), microphone=(), display-capture=(), web-share=() Permissions-Policy: interest-cohort=(), geolocation=(), camera=(), microphone=(), display-capture=(), web-share=()
Content-Security-Policy: default-src 'self'; script-src 'none'; frame-ancestors 'none'; child-src 'none'; base-uri 'self' Content-Security-Policy: default-src 'self'; script-src 'none'; frame-ancestors 'none'; child-src 'none'; base-uri 'self'; object-src 'none'; require-trusted-types-for 'script'