Skip to content

Commit

Permalink
add vercel configuration inside apps/web
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielmfern committed Oct 15, 2024
1 parent a16dc30 commit 573a11b
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions apps/web/vercel.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"headers": [
{
"source": "/api/:path*",
"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 573a11b

Please sign in to comment.