diff --git a/vercel.json b/vercel.json index 414cf69..1ef8102 100644 --- a/vercel.json +++ b/vercel.json @@ -15,9 +15,10 @@ "source": "/api/:path*", "destination": "/api/:path*", "headers": [ + { "key": "Access-Control-Allow-Credentials", "value": "true" }, { "key": "Access-Control-Allow-Origin", "value": "*" }, - { "key": "Access-Control-Allow-Methods", "value": "GET,OPTIONS" }, - { "key": "Access-Control-Allow-Headers", "value": "X-Requested-With,content-type" } + { "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" } ] } ]