Disabled unnecessary update message on page refresh
This commit is contained in:
parent
b0162c40bf
commit
0ffec0ee34
|
@ -17,7 +17,6 @@ if (process.env.NODE_ENV === 'production') {
|
|||
// check for updates every 2 hours
|
||||
var checkInterval = 1000 * 60 * 60 * 2
|
||||
// var checkInterval = 1000 * 5
|
||||
registration.update();
|
||||
setInterval(() => {
|
||||
console.log('Checking for service worker update…')
|
||||
registration.update();
|
||||
|
|
Loading…
Reference in New Issue