From deda35213d5dcbd28c9b93dd81d890f3def039e3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D0=B0=D1=81=D1=83=D0=BB?= Date: Fri, 27 Sep 2024 12:42:42 +0300 Subject: [PATCH] feat: change socket url --- src/components/App/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index 5ac57af4f..4d1f370ab 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -238,7 +238,7 @@ export const App = () => { ]) useEffect(() => { - const ws = new WebSocket('wss://staging.stakwork.com/cable') + const ws = new WebSocket('wss://staging.stakwork.com/cable?channel=ProjectLogChannel') ws.onopen = () => { console.log('WebSocket connection established') @@ -259,7 +259,7 @@ export const App = () => { // Cleanup when the component is unmounted return () => { - ws.close() + // ws.close() } }, [])