2025-07-21 14:53:06 -04:00
|
|
|
{
|
|
|
|
|
"rewrites": [
|
|
|
|
|
{
|
2025-07-21 22:40:19 -04:00
|
|
|
"source": "/((?!api|static|_next).*)",
|
2025-07-21 14:53:06 -04:00
|
|
|
"destination": "/index.html"
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
"headers": [
|
|
|
|
|
{
|
|
|
|
|
"source": "/static/(.*)",
|
|
|
|
|
"headers": [
|
|
|
|
|
{
|
|
|
|
|
"key": "Cache-Control",
|
|
|
|
|
"value": "public, max-age=31536000, immutable"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"source": "/api/(.*)",
|
|
|
|
|
"headers": [
|
|
|
|
|
{
|
|
|
|
|
"key": "Access-Control-Allow-Origin",
|
|
|
|
|
"value": "*"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "Access-Control-Allow-Methods",
|
|
|
|
|
"value": "GET, POST, PUT, DELETE, OPTIONS"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "Access-Control-Allow-Headers",
|
|
|
|
|
"value": "Content-Type, Authorization"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"source": "/(.*)",
|
|
|
|
|
"headers": [
|
|
|
|
|
{
|
|
|
|
|
"key": "X-Frame-Options",
|
|
|
|
|
"value": "DENY"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"key": "X-Content-Type-Options",
|
|
|
|
|
"value": "nosniff"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
}
|
2025-07-22 07:42:19 -04:00
|
|
|
]
|
2025-07-21 14:53:06 -04:00
|
|
|
}
|