mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 07:11:12 -05:00
49 lines
958 B
JSON
49 lines
958 B
JSON
{
|
|
"rewrites": [
|
|
{
|
|
"source": "/api/(.*)",
|
|
"destination": "/api/$1"
|
|
},
|
|
{
|
|
"source": "/(.*\\.(?:js|css|jpg|jpeg|png|gif|svg|ico|woff|woff2|ttf|eot|webp|json|xml))$",
|
|
"continue": true
|
|
},
|
|
{
|
|
"source": "/[^.]+",
|
|
"destination": "/api/ssrOG"
|
|
},
|
|
{
|
|
"source": "/",
|
|
"destination": "/api/ssrOG"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/(.*)",
|
|
"headers": [
|
|
{
|
|
"key": "X-Content-Type-Options",
|
|
"value": "nosniff"
|
|
},
|
|
{
|
|
"key": "X-Frame-Options",
|
|
"value": "DENY"
|
|
},
|
|
{
|
|
"key": "X-XSS-Protection",
|
|
"value": "1; mode=block"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/(.*)\\.(js|css|jpg|jpeg|png|gif|svg|ico|woff|woff2|ttf|eot|webp)",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|