Skip to content

Commit

Permalink
add _headers file for Cloudflare Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
zpc0 committed Oct 2, 2023
1 parent 976a478 commit 3ff3706
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions _headers
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/*
Content-Security-Policy: default-src 'none'; img-src 'self'; style-src 'self'; base-uri 'none'; form-action 'none'; frame-ancestors 'none'; require-trusted-types-for 'script'; trusted-types 'none';
Cross-Origin-Embedder-Policy: require-corp
Cross-Origin-Opener-Policy: same-origin
Cross-Origin-Resource-Policy: same-origin
Permissions-Policy: autoplay=(), camera=(), display-capture=(), fullscreen=(), gamepad=(), geolocation=(), microphone=(), speaker-selection=(), web-share=()
Referrer-Policy: no-referrer
X-Frame-Options: DENY

0 comments on commit 3ff3706

Please sign in to comment.