diff --git a/backend/vercel.json b/backend/vercel.json index 70c1e96..10a307c 100644 --- a/backend/vercel.json +++ b/backend/vercel.json @@ -10,5 +10,23 @@ "src": "/(.*)", "dest": "main.py" } + ], + "headers": [ + { + "key": "Access-Control-Allow-Credentials", + "value": "true" + }, + { + "key": "Access-Control-Allow-Origin", + "value": "*" + }, + { + "key": "Access-Control-Allow-Methods", + "value": "GET,POST" + }, + { + "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" + } ] }