32 lines
1.0 KiB
JSON
32 lines
1.0 KiB
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"buildCommand": "npm run build",
|
|
"outputDirectory": "dist",
|
|
"headers": [
|
|
{
|
|
"source": "/fonts/misans-webfont-4.3.1/(.*)",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
|
|
},
|
|
{
|
|
"source": "/assets/:file(archive-(?:cassette|assembly)\\.[a-f0-9]{16}\\.glb)",
|
|
"headers": [{ "key": "Cache-Control", "value": "public, max-age=31536000, immutable" }]
|
|
},
|
|
{
|
|
"source": "/update(.*)",
|
|
"headers": [{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }]
|
|
},
|
|
{
|
|
"source": "/sw.js",
|
|
"headers": [{ "key": "Cache-Control", "value": "no-cache, no-store, must-revalidate" }]
|
|
},
|
|
{
|
|
"source": "/manifest.webmanifest",
|
|
"headers": [{ "key": "Cache-Control", "value": "no-cache, must-revalidate" }]
|
|
},
|
|
{
|
|
"source": "/pwa-build.json",
|
|
"headers": [{ "key": "Cache-Control", "value": "no-cache, must-revalidate" }]
|
|
}
|
|
]
|
|
}
|