Skip to content

Commit

Permalink
Add CSP header (#363)
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanocerza authored Sep 10, 2024
1 parent aae860e commit 18ae0b0
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,26 @@
},
{
"source": "/(.*)",
"headers" : [
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key" : "X-Content-Type-Options",
"value" : "nosniff"
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key" : "X-Frame-Options",
"value" : "DENY"
"key": "Content-Security-Policy",
"value": "frame-ancestors 'self'"
}
]
}
],

"functions": {
"api/tutorial-search.js": {
"memory":3008
"memory": 3008
}
},

Expand Down

0 comments on commit 18ae0b0

Please sign in to comment.