chore(Vercel): ensure no cache for index.html

This commit is contained in:
ShareVB committed 2025-11-29 13:49:55 +01:00
1 parent 4db9743221
commit 6737df4be1
1 file changed
+21 -1
+21 -1
View File
@@ -3,5 +3,25 @@
"git": {
"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"
}
]
}
]
}