mirror of
https://github.com/sharevb/it-tools.git
synced 2026-11-20 21:23:08 +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": {
|
||||
"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