Skip to content

Commit 3bd7c9c

Browse files
authored
Add extra security headers on website (hestiacp#4726)
Used with Cloudfare pages
1 parent 89b3fb0 commit 3bd7c9c

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

docs/_data/team.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ export const projectManagers = [
99
{
1010
avatar: 'https://www.github.com/jaapmarcus.png',
1111
name: 'Jaap Marcus 🇳🇱',
12-
links: [
13-
{ icon: 'github', link: 'https://github.com/jaapmarcus' },
14-
{ icon: 'twitter', link: 'https://twitter.com/jaapmarcus' },
15-
],
12+
links: [{ icon: 'github', link: 'https://github.com/jaapmarcus' }],
1613
},
1714
{
1815
avatar: 'https://www.github.com/Lupul.png',

docs/public/_headers

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
/*
2+
X-Frame-Options: DENY
3+
X-Content-Type-Options: nosniff
4+
Referrer-Policy: no-referrer
5+
Permissions-Policy: document-domain=()
6+
Content-Security-Policy: script-src 'self'; frame-ancestors 'none';
7+
18
/assets/*
29
cache-control: max-age=31536000
310
cache-control: immutable
11+

0 commit comments

Comments
 (0)