mirror of
https://github.com/System-End/site.git
synced 2026-04-19 15:18:18 +00:00
CORS for Sprig console endpoint
This commit is contained in:
parent
3236afeb07
commit
ca2a268d0e
1 changed files with 14 additions and 0 deletions
14
vercel.json
14
vercel.json
|
|
@ -14,6 +14,20 @@
|
|||
"value": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/api/sprig-console",
|
||||
"headers": [
|
||||
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
||||
{
|
||||
"key": "Access-Control-Allow-Methods",
|
||||
"value": "GET"
|
||||
},
|
||||
{
|
||||
"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…
Add table
Reference in a new issue