2024-02-10 20:58:55 +00:00
|
|
|
{
|
2024-02-11 00:04:30 +00:00
|
|
|
"version": 2,
|
2024-02-10 20:58:55 +00:00
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"source": "/build/(.*)",
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
2024-02-11 00:04:30 +00:00
|
|
|
"value": "public, max-age=31536000, immutable"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "/(.*)",
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "X-Content-Type-Options",
|
|
|
|
"value": "nosniff"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "X-Frame-Options",
|
|
|
|
"value": "DENY"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "Referrer-Policy",
|
|
|
|
"value": "strict-origin-when-cross-origin"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "Permissions-Policy",
|
|
|
|
"value": "camera=(), microphone=(), geolocation=()"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "Strict-Transport-Security",
|
|
|
|
"value": "max-age=63072000; includeSubDomains; preload"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "Content-Security-Policy",
|
|
|
|
"value": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' https: data:; font-src 'self' https: data:;"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"cleanUrls": true,
|
|
|
|
"trailingSlash": false,
|
|
|
|
"staticHeaders": [
|
|
|
|
{
|
|
|
|
"source": "/static/(.*)",
|
|
|
|
"headers": [
|
|
|
|
{
|
|
|
|
"key": "Cache-Control",
|
|
|
|
"value": "public, max-age=604800, immutable"
|
2024-02-10 20:58:55 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|