Skip to content

Commit

Permalink
Fix: websocket endpoint 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
sayyyho authored Sep 6, 2024
1 parent a853ce5 commit db2cfc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/ChatPage/ChatPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export const ChatPage = () => {
} else {
// WebSocket 연결 설정
const ws = new WebSocket(
`${import.meta.env.VITE_BASE_API}/${params.room}`
`${import.meta.env.VITE_BASE_API}/chat/ws`
);

ws.onopen = () => {
Expand Down

0 comments on commit db2cfc3

Please sign in to comment.