diff --git a/vercel.json b/vercel.json index 1377a25..4c8bfa5 100644 --- a/vercel.json +++ b/vercel.json @@ -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": "*" + } } ] }