2023-08-21 08:42:08 +00:00
|
|
|
{
|
|
|
|
"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" }
|
|
|
|
]
|
|
|
|
}
|
2023-08-21 08:59:41 +00:00
|
|
|
],
|
|
|
|
"rewrites": [
|
|
|
|
{
|
|
|
|
"source": "/api/:path*",
|
|
|
|
"destination": "/api/:path*",
|
|
|
|
"headers": [
|
2023-08-21 09:05:23 +00:00
|
|
|
{ "key": "Access-Control-Allow-Credentials", "value": "true" },
|
2023-08-21 08:59:41 +00:00
|
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
2023-08-21 09:05:23 +00:00
|
|
|
{ "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" }
|
2023-08-21 08:59:41 +00:00
|
|
|
]
|
|
|
|
}
|
2023-08-21 08:42:08 +00:00
|
|
|
]
|
|
|
|
}
|