set headers

This commit is contained in:
Matthias Kretschmann 2021-12-03 00:42:45 +00:00
parent 0ea55f898e
commit 5c25342ac2
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 13 additions and 1 deletions

View File

@ -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"
}
}
]
}