Skip to content

Commit

Permalink
fix: fe - useWebsocket 커스텀 훅
Browse files Browse the repository at this point in the history
- 요청 URL 경로 수정
  • Loading branch information
codemario318 committed Jan 8, 2025
1 parent 1b34cfa commit 7ebeda2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/frontend/src/hook/quizZone/useQuizZone.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ const useQuizZone = (
handleClose?.();
};

const wsUrl = `${import.meta.env.VITE_WS_URL}/play`;
const wsUrl = `/api/play`;
const { beginConnection, sendMessage, closeConnection } = useWebSocket({
wsUrl,
messageHandler,
Expand Down

0 comments on commit 7ebeda2

Please sign in to comment.