31 lines
557 B
JSON
31 lines
557 B
JSON
|
{
|
||
|
"navigationFallback": {
|
||
|
"rewrite": "/index.html",
|
||
|
"exclude": [
|
||
|
"*.{css,js}",
|
||
|
"*.{png}",
|
||
|
"*.{c,h,wasm,clr,pdb,dat,txt}"
|
||
|
]
|
||
|
},
|
||
|
"routes": [
|
||
|
{
|
||
|
"route": "/package_*",
|
||
|
"headers": {
|
||
|
"cache-control": "public, immutable, max-age=31536000"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"route": "/*.ttf",
|
||
|
"headers": {
|
||
|
"cache-control": "public, immutable, max-age=31536000"
|
||
|
}
|
||
|
},
|
||
|
{
|
||
|
"route": "/*",
|
||
|
"headers": {
|
||
|
"cache-control": "must-revalidate, max-age=3600"
|
||
|
}
|
||
|
}
|
||
|
]
|
||
|
}
|