Disabled unnecessary update message on page refresh

This commit is contained in:
Eliot Berriot 2020-03-04 22:34:04 +01:00
parent b0162c40bf
commit 0ffec0ee34
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 0 additions and 1 deletions

View File

@ -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();