b937c96423
* env: updated env structure to make the vercel deployment work * env: updated the URL_API to be compatible with vercel * feat: add vercel.json * env: vercel protection bypass * env: adding bypass logic * fix: changed 127.0.0.1 back to localhost * env: readded cors * env: delete vercel.json * env: update headers * env: moved cors back to vercel.json * env: allow all headers * env: switched from headers to query variables * env: still need CORS * env: ignore cookie * env: tidy * tidy: cleanup
13 lines
298 B
JSON
13 lines
298 B
JSON
{
|
|
"headers": [
|
|
{
|
|
"source": "/api/(.*)",
|
|
"headers": [
|
|
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
{ "key": "Access-Control-Allow-Methods", "value": "GET,POST" }
|
|
]
|
|
}
|
|
]
|
|
}
|