16 lines
383 B
JSON
16 lines
383 B
JSON
{
|
|
"rewrites": [
|
|
{ "source": "/api/:path*", "destination": "/api" },
|
|
{ "source": "/", "destination": "/index.html" }
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/api/(.*)",
|
|
"headers": [
|
|
{ "key": "Access-Control-Allow-Origin", "value": "*" },
|
|
{ "key": "Cache-Control", "value": "public, s-maxage=3600, stale-while-revalidate=86400" }
|
|
]
|
|
}
|
|
]
|
|
}
|