From 546c2523c2b74a6e2af79e5a1df62087b33d01a3 Mon Sep 17 00:00:00 2001 From: denis0001-dev Date: Thu, 9 Oct 2025 22:16:21 +0300 Subject: [PATCH] Fix logo location and move service worker --- frontend/index.html | 2 +- frontend/src/pages/chat/utils/push-notifications.ts | 2 +- frontend/src/{pages/chat/service-worker => }/service-worker.ts | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename frontend/src/{pages/chat/service-worker => }/service-worker.ts (100%) 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