Skip to content

Commit

Permalink
Fix not updating service worker response headers
Browse files Browse the repository at this point in the history
  • Loading branch information
frosas committed Jun 27, 2020
1 parent 12377b3 commit 4e8387e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[[headers]]
for = "/scripts/service-worker.*.js"
for = "/scripts/service-worker.js"
[headers.values]
Cache-Control = "max-age=0"
Service-Worker-Allowed = "/" # See https://developers.google.com/web/updates/2018/06/fresher-sw

0 comments on commit 4e8387e

Please sign in to comment.