Skip to content

Commit

Permalink
Fix sw.js headers cache control (GladysAssistant#827)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pierre-Gilles authored and NickDub committed Aug 7, 2020
1 parent fcf547d commit c43974a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions front/netlify.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
[[headers]]
for = "/sw.js"
[headers.values]
cache-control = '''
max-age=0,
no-cache,
no-store,
must-revalidate'''

[[redirects]]
from = "/*"
to = "/index.html"
Expand Down

0 comments on commit c43974a

Please sign in to comment.