Skip to content

Commit

Permalink
Fix 404 error and add more security headers (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa authored Oct 21, 2024
1 parent 6128dea commit c9f6757
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"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"
}
]
}
],
"rewrites": [{ "source": "/(.*)", "destination": "/index.html" }]
}

0 comments on commit c9f6757

Please sign in to comment.