Skip to content

Commit

Permalink
fix: fix vercel.json
Browse files Browse the repository at this point in the history
  • Loading branch information
okikio authored Oct 23, 2021
1 parent 79705b2 commit 2534f60
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
]
},
{
"source": "/*.html",
"source": "/(.*).html",
"headers": [
{
"key": "Link",
Expand Down Expand Up @@ -77,7 +77,7 @@
]
},
{
"source": "/*.css",
"source": "/(.*).css",
"headers": [
{
"key": "Cache-Control",
Expand All @@ -90,7 +90,7 @@
]
},
{
"source": "/*.ttf",
"source": "/(.*).ttf",
"headers": [
{
"key": "Cache-Control",
Expand All @@ -103,7 +103,7 @@
]
},
{
"source": "/js/*.js",
"source": "/js/(.*).js",
"headers": [
{
"key": "Cache-Control",
Expand All @@ -112,16 +112,16 @@
]
},
{
"source": "/js/sw.js",
"source": "/favicon/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=480, stale-while-revalidate=360"
"value": "public, max-age=604800, stale-while-revalidate=4880"
}
]
},
{
"source": "/js/esbuild.wasm",
"source": "/(.*).svg",
"headers": [
{
"key": "Cache-Control",
Expand All @@ -130,16 +130,16 @@
]
},
{
"source": "/manifest.json",
"source": "/js/sw.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=604800, stale-while-revalidate=4880"
"value": "public, max-age=480, stale-while-revalidate=360"
}
]
},
{
"source": "/favicon/*",
"source": "/js/esbuild.wasm",
"headers": [
{
"key": "Cache-Control",
Expand All @@ -148,7 +148,7 @@
]
},
{
"source": "/*.svg",
"source": "/manifest.json",
"headers": [
{
"key": "Cache-Control",
Expand Down

1 comment on commit 2534f60

@vercel
Copy link

@vercel vercel bot commented on 2534f60 Oct 23, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.