diff --git a/client/src/index.ts b/client/src/index.ts index 6200c07..46d7aed 100644 --- a/client/src/index.ts +++ b/client/src/index.ts @@ -1,7 +1,7 @@ let socket: WebSocket | null = null; if ('serviceWorker' in navigator) { - navigator.serviceWorker.register('/static/js/sw.js') + navigator.serviceWorker.register('/sw.js') .then(function (registration) { console.log('Registration successful, scope is:', registration.scope); })