Skip to content
Snippets Groups Projects
Verified Commit 0ffec0ee authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Disabled unnecessary update message on page refresh

parent b0162c40
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,6 @@ if (process.env.NODE_ENV === 'production') { ...@@ -17,7 +17,6 @@ if (process.env.NODE_ENV === 'production') {
// check for updates every 2 hours // check for updates every 2 hours
var checkInterval = 1000 * 60 * 60 * 2 var checkInterval = 1000 * 60 * 60 * 2
// var checkInterval = 1000 * 5 // var checkInterval = 1000 * 5
registration.update();
setInterval(() => { setInterval(() => {
console.log('Checking for service worker update…') console.log('Checking for service worker update…')
registration.update(); registration.update();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment