Add vercel.json

This commit is contained in:
Tomaas 2024-08-26 22:44:13 +02:00
parent 5d37810686
commit f1c22f84a9

16
vercel.json Normal file
View file

@ -0,0 +1,16 @@
{
"headers": [
{
"source": "/script.js/api/(.*)",
"headers": [
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
{ "key": "Access-Control-Allow-Origin", "value": "https://withaffluent.com" },
{ "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"
}
]
}
]
}