Skip to content

Commit

Permalink
Merge pull request #128 from ThatConference/chore/add-security-headers
Browse files Browse the repository at this point in the history
Add basic security headers
  • Loading branch information
brettski committed Nov 1, 2023
2 parents 2b7e75d + 2df2c82 commit ad3cb4e
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thatconference.com",
"version": "5.1.8",
"version": "5.1.9",
"description": "THATConference.com website",
"main": "index.js",
"type": "module",
Expand Down
21 changes: 21 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "Referrer-Policy",
"value": "no-referrer-when-downgrade"
},
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "X-Content-Type-Options",
"value": "nosniff"
}
]
}
]
}

0 comments on commit ad3cb4e

Please sign in to comment.