Skip to content

Commit

Permalink
Merge pull request #16 from darwinia-network/remove-xframe-options
Browse files Browse the repository at this point in the history
Remove X-Frame-Options header to allow cross-origin framing
  • Loading branch information
snoopy1412 authored Apr 30, 2024
2 parents 2ffb259 + 0459c1a commit e8eefd7
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "origin-when-cross-origin"
},
{
"key": "X-Frame-Options",
"value": "SAMEORIGIN"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=2592000"
}
]
"source": "/(.*)",
"headers": [
{
"key": "X-Content-Type-Options",
"value": "nosniff"
},
{
"key": "Referrer-Policy",
"value": "origin-when-cross-origin"
},
{
"key": "Strict-Transport-Security",
"value": "max-age=2592000"
}
]
}
]
}

0 comments on commit e8eefd7

Please sign in to comment.