Skip to content

Commit 97f6040

Browse files
committed
frontend ws check
1 parent 1c0fc25 commit 97f6040

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/hooks/usePostureWebSocket.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const usePostureWebSocket = (username: string, token: string) => {
2222

2323

2424
const client = new Client({
25-
webSocketFactory: () => new SockJS(`${import.meta.env.VITE_API_URL}/ws`),
25+
webSocketFactory: () => new SockJS(`${import.meta.env.VITE_WS_URL}/ws`),
2626
connectHeaders: {
2727
Authorization: `Bearer ${token}`,
2828
},

0 commit comments

Comments
 (0)