mirror of
https://github.com/ZeroCatDev/Classworks.git
synced 2026-03-21 09:13:10 +00:00
59 lines
978 B
JSON
59 lines
978 B
JSON
{
|
|
"rewrites": [
|
|
{
|
|
"source": "/:path*",
|
|
"destination": "/index.html"
|
|
}
|
|
],
|
|
"headers": [
|
|
{
|
|
"source": "/assets/:path*",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=31536000, immutable"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/pwa/:path*",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "public, max-age=604800"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/index.html",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/sw.js",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"source": "/sw-cache-manager.js",
|
|
"headers": [
|
|
{
|
|
"key": "Cache-Control",
|
|
"value": "no-cache"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"github": {
|
|
"silent": true
|
|
}
|
|
}
|