Skip to content

Commit

Permalink
update vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
hieudoanm committed Jan 26, 2025
1 parent cf42785 commit bc84a41
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
"routes": [
{
"src": "/(.*)",
"dest": "api/main.go"
"dest": "api/main.go",
"methods": ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
"headers": {
"Access-Control-Allow-Origin": "*"
}
}
]
}

0 comments on commit bc84a41

Please sign in to comment.