Skip to content

Commit

Permalink
update vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
akkshayTandon committed Apr 4, 2024
1 parent caebd5b commit 3a1ce09
Showing 1 changed file with 26 additions and 14 deletions.
40 changes: 26 additions & 14 deletions vercel.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,27 @@
{
"version": 2,
"builds": [
{
"src": "index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "index.js"
}
]
}
"version": 2,
"builds": [
{
"src": "index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "index.js"
},
{
"src": "/add-data",
"methods": [
"POST"
],
"headers": [
{
"key": "Access-Control-Allow-Origin",
"value": "*"
}
]
}
]
}

0 comments on commit 3a1ce09

Please sign in to comment.