mirror of
https://github.com/SouthFox-D/SouthFox-D.github.io.git
synced 2024-11-25 00:16:52 +01:00
security: add custome headers
This commit is contained in:
parent
abb232efc0
commit
0f245e159f
2 changed files with 7 additions and 0 deletions
1
.github/workflows/deploy.yml
vendored
1
.github/workflows/deploy.yml
vendored
|
@ -44,6 +44,7 @@ jobs:
|
|||
fonttools ttLib.woff2 compress -o Zpix.woff2 Zpix.subset.ttf
|
||||
mv Zpix.woff2 ./public/css/fonts
|
||||
mv Zpix.subset.ttf ./public/css/fonts/Zpix.ttf
|
||||
mv _headers ./public
|
||||
cd ./public
|
||||
git init
|
||||
git add --all .
|
||||
|
|
6
_headers
Normal file
6
_headers
Normal file
|
@ -0,0 +1,6 @@
|
|||
/*
|
||||
X-Frame-Options: allow-from https://mantyke.icu/
|
||||
X-Content-Type-Options: nosniff
|
||||
Referrer-Policy: no-referrer
|
||||
Permissions-Policy: document-domain=()
|
||||
Content-Security-Policy: script-src 'self'; frame-ancestors 'none';
|
Loading…
Reference in a new issue