Skip to content

Commit

Permalink
feat: add vercel.json headers to stop iframe embed
Browse files Browse the repository at this point in the history
  • Loading branch information
mohitb35 committed Aug 9, 2022
1 parent dc56de1 commit e0e2bec
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Frame-Options",
"value": "DENY"
},
{
"key": "Content-Security-Policy",
"value": "frame-ancestors 'none'"
}
]
}
]
}

0 comments on commit e0e2bec

Please sign in to comment.