diff options
author | rstular <rok@stular.eu> | 2020-05-20 21:47:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-20 21:47:41 +0200 |
commit | 9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2 (patch) | |
tree | c96e2c622aeb56000d4736ba1932269f2dfd217b /js/app.js | |
parent | Merge pull request #8 from beziapp/dev (diff) | |
parent | Merge branch 'dev' of ssh://github.com/beziapp/beziapp.github.io into dev (diff) | |
download | beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.gz beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.bz2 beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.lz beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.xz beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.tar.zst beziapp-9e63ad7fd187b5eea9f2e3d3a1e1fa9a2d1ec1d2.zip |
Diffstat (limited to 'js/app.js')
-rw-r--r-- | js/app.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/js/app.js b/js/app.js deleted file mode 100644 index 97e671f..0000000 --- a/js/app.js +++ /dev/null @@ -1,12 +0,0 @@ -if ("serviceWorker" in navigator) { - navigator.serviceWorker.register("/sw.js") - .then(() => { }) - .catch((err) => console.log("Service worker registration failed", err)); -} - -// Listen to messages from service workers. -navigator.serviceWorker.addEventListener('message', (event) => { - if (event.data.msg === "install") { - window.location.replace("/index.html"); - } -});
\ No newline at end of file |