From e6522ec721eaf44a594d1656130894a33b5f1afc Mon Sep 17 00:00:00 2001 From: Tben Date: Mon, 21 Aug 2023 10:05:23 +0100 Subject: [PATCH] updates --- vercel.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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" } ] } ]