mirror of
https://github.com/BradNut/personal-website-sveltekit
synced 2025-09-08 23:20:18 +00:00
Revert CORS vercel.
This commit is contained in:
parent
5d2c828ea2
commit
bb5d921f8f
1 changed files with 0 additions and 16 deletions
16
vercel.json
16
vercel.json
|
|
@ -1,16 +0,0 @@
|
||||||
{
|
|
||||||
"headers": [
|
|
||||||
{
|
|
||||||
"source": "/api/(.*)",
|
|
||||||
"headers": [
|
|
||||||
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
|
|
||||||
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
||||||
{ "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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
Loading…
Reference in a new issue