From 40a0423208c0863fb5be95f4e6bdc48a25482996 Mon Sep 17 00:00:00 2001 From: "jakob.stendahl" Date: Sun, 15 Jan 2023 22:45:19 +0100 Subject: Fix service worker error, update deploy script --- src/js/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/js') diff --git a/src/js/main.js b/src/js/main.js index 801a9eb..3a6f9e9 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -6,7 +6,7 @@ import { Gamepad } from './gamepad'; let sw = "service-worker.js"; if (navigator.serviceWorker) { navigator.serviceWorker.register( - sw, {scope: '/hoverbit-ble/'} + sw, {scope: '/microbit-gamepad/'} ).then(registration => { registration.onupdatefound = () => { const installingWorker = registration.installing; -- cgit v1.2.3