mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-22 22:02:38 +03:00
chore(Vercel): ensure no cache for index.html
This commit is contained in:
1 parent
4db9743221
commit
6737df4be1
1 file changed
+21
-1
+21
-1
@@ -3,5 +3,25 @@
|
|||||||
"git": {
|
"git": {
|
||||||
"deploymentEnabled": false
|
"deploymentEnabled": false
|
||||||
},
|
},
|
||||||
"rewrites": [{ "source": "/:path*", "destination": "/index.html" }]
|
"rewrites": [{ "source": "/:path*", "destination": "/index.html" }],
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"source": "/index.html",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Cache-Control",
|
||||||
|
"value": "public, max-age=0, must-revalidate"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"source": "/assets/(.*)",
|
||||||
|
"headers": [
|
||||||
|
{
|
||||||
|
"key": "Cache-Control",
|
||||||
|
"value": "public, max-age=31536000, immutable"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user