mirror of
https://github.com/kremalicious/location.git
synced 2024-11-22 01:46:58 +01:00
set headers
This commit is contained in:
parent
0ea55f898e
commit
5c25342ac2
14
vercel.json
14
vercel.json
@ -1 +1,13 @@
|
||||
{ "routes": [{ "src": "/", "dest": "/api" }] }
|
||||
{
|
||||
"routes": [
|
||||
{
|
||||
"src": "/",
|
||||
"dest": "/api",
|
||||
"headers": {
|
||||
"Access-Control-Allow-Origin": "*",
|
||||
"Access-Control-Allow-Methods": "GET",
|
||||
"Access-Control-Allow-Headers": "X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user