diff --git a/frontend/index.html b/frontend/index.html index b52328c..9038e1e 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ Loading... - +
diff --git a/frontend/src/pages/chat/utils/push-notifications.ts b/frontend/src/pages/chat/utils/push-notifications.ts index 2696d30..869d7e5 100644 --- a/frontend/src/pages/chat/utils/push-notifications.ts +++ b/frontend/src/pages/chat/utils/push-notifications.ts @@ -2,7 +2,7 @@ import { API_BASE_URL } from "../core/config"; import { isElectron } from "../electron/electron"; import { websocket } from "../core/websocket"; import type { NewMessageWebSocketMessage, WebSocketMessage } from "../core/types"; -import serviceWorker from "../service-worker/service-worker.ts?worker&url"; +import serviceWorker from "../../../service-worker?worker&url"; export interface PushSubscriptionData { endpoint: string; diff --git a/frontend/src/pages/chat/service-worker/service-worker.ts b/frontend/src/service-worker.ts similarity index 100% rename from frontend/src/pages/chat/service-worker/service-worker.ts rename to frontend/src/service-worker.ts