diff --git a/src/modules/data/board/socket/socket.ts b/src/modules/data/board/socket/socket.ts index c9800ff78f..6680094456 100644 --- a/src/modules/data/board/socket/socket.ts +++ b/src/modules/data/board/socket/socket.ts @@ -1,9 +1,8 @@ import { io } from "socket.io-client"; import { Action } from "@/types/board/ActionFactory"; -import { envConfigModule } from "@/store"; export const useBoardSocketApi = (dispatch: (action: Action) => void) => { - const socket = io(envConfigModule.getEnv.BOARD_COLLABORATION_URI, { + const socket = io({ path: "/board-collaboration", withCredentials: true, });