summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsijanec <sijanecantonluka@gmail.com>2020-08-31 00:06:50 +0200
committersijanec <sijanecantonluka@gmail.com>2020-08-31 00:06:50 +0200
commita4d33c9d947bc501c768a99a53272e7dd7c1a69a (patch)
treeb7099a2efa385c4729e921aa9e3ef267e5c28859
parentfixed offline viewpoer (diff)
downloadttx-app-a4d33c9d947bc501c768a99a53272e7dd7c1a69a.tar
ttx-app-a4d33c9d947bc501c768a99a53272e7dd7c1a69a.tar.gz
ttx-app-a4d33c9d947bc501c768a99a53272e7dd7c1a69a.tar.bz2
ttx-app-a4d33c9d947bc501c768a99a53272e7dd7c1a69a.tar.lz
ttx-app-a4d33c9d947bc501c768a99a53272e7dd7c1a69a.tar.xz
ttx-app-a4d33c9d947bc501c768a99a53272e7dd7c1a69a.tar.zst
ttx-app-a4d33c9d947bc501c768a99a53272e7dd7c1a69a.zip
-rw-r--r--redfox.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/redfox.js b/redfox.js
index fea1579..9c26cf5 100644
--- a/redfox.js
+++ b/redfox.js
@@ -5,7 +5,7 @@ var author = "Sebastjan Dobnik";
// Register the service worker
if ('serviceWorker' in navigator) {
- navigator.serviceWorker.register('/service-worker.js')
+ navigator.serviceWorker.register('/sw.js')
.then(function(registration) {
console.log('sw reg succ, scope: ', registration.scope);
})