Skip to content

Commit

Permalink
prevent service worker from caching and therefore not updating site. …
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMen4ce committed Apr 20, 2018
1 parent 33829c4 commit 002ed37
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion firebase.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"rewrites": [ {
"source": "**",
"destination": "/index.html"
} ]
} ],
"headers": [
{ "source":"/service-worker.js", "headers": [{"key": "Cache-Control", "value": "no-cache"}] }
]
}
}

0 comments on commit 002ed37

Please sign in to comment.