Skip to content

Commit

Permalink
security: add cors
Browse files Browse the repository at this point in the history
  • Loading branch information
zakarialounes committed Aug 11, 2024
1 parent 8da6094 commit 70ffdd3
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"headers": [
{
"source": "/(.*)",
"headers": [
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
{ "key": "Access-Control-Allow-Origin", "value": "https://www.ezstaking.io" },
{ "key": "Access-Control-Allow-Methods", "value": "GET,OPTIONS,PATCH,DELETE,POST,PUT" },
{ "key": "Access-Control-Allow-Headers", "value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version" }
]
}
]
}

0 comments on commit 70ffdd3

Please sign in to comment.