Files
2026-03-07 12:39:54 +08:00

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