Skip to content

Commit

Permalink
feat(vercel): no cache <any>service-worker.js files
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickJS committed May 20, 2024
1 parent 7708f71 commit d9c3170
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions starters/adapters/vercel-edge/vercel.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
{
"headers": [
{
"source": "/(.*)?service-worker.js",
"headers": [
{
"key": "Cache-Control",
"value": "public, max-age=0, must-revalidate"
}
]
},
{
"source": "/build/(.*)",
"headers": [
Expand Down

0 comments on commit d9c3170

Please sign in to comment.