diff options
Diffstat (limited to 'js/app.js')
-rw-r--r-- | js/app.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -5,8 +5,10 @@ if ("serviceWorker" in navigator) { } // Listen to messages from service workers. +if(navigator.serviceWorker)( navigator.serviceWorker.addEventListener('message', (event) => { if (event.data.msg === "install") { window.location.replace("/index.html"); } -});
\ No newline at end of file +}); +) |