From 673bb9b5499ad6c422973d5c85e7d2e1d4065f08 Mon Sep 17 00:00:00 2001 From: pociej Date: Fri, 14 Jun 2024 12:30:39 +0200 Subject: [PATCH] chore: use websocket transport #62 --- frontend/src/hooks/userUserData.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/hooks/userUserData.ts b/frontend/src/hooks/userUserData.ts index b4ca30b..f87df04 100644 --- a/frontend/src/hooks/userUserData.ts +++ b/frontend/src/hooks/userUserData.ts @@ -5,6 +5,7 @@ import { useLocalStorage } from "./useLocalStorage"; const socket = io(`${import.meta.env.VITE_BACKEND_WS_URL}/me`, { autoConnect: false, + transports: ["websocket"], }); export const useUserData = () => {