summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);
})