Skip to content

Commit ce120c2

Browse files
authored
chore: tighten security headers (#3709)
* Add HSTS header that includes subdomains * Update Cache-Control settings to not cache at all * Prevent rendering in (i)frames
1 parent e1bbe83 commit ce120c2

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

website/vercel.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,19 @@
77
},
88
"headers": [
99
{
10-
"source": "/assets/(.*)",
10+
"source": "/(.*)",
1111
"headers": [
12+
{
13+
"key": "Strict-Transport-Security",
14+
"value": "max-age=63072000; includeSubDomains;"
15+
},
1216
{
1317
"key": "Cache-Control",
14-
"value": "public, max-age=31536000, immutable"
18+
"value": "no-cache, no-store, must-revalidate"
19+
},
20+
{
21+
"key": "X-Frame-Options",
22+
"value": "DENY"
1523
}
1624
]
1725
},

0 commit comments

Comments
 (0)