Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
abbi4code committed Sep 7, 2024
1 parent 9adbfa1 commit 1842eae
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions server/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,18 @@
{
"src": "/(.*)",
"dest": "dist/index.js",
"headers":{
"Access-Control-Allow-Origin":"*"
}
"headers": [
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
{ "key": "Access-Control-Allow-Origin", "value": "*" },
{
"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 1842eae

Please sign in to comment.