Skip to content

Commit

Permalink
[hotfix/0.3.1] WebSocket URL 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyunuk17 committed Nov 7, 2023
1 parent 475479a commit 6afdb25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/Chatting.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export default function Chatting() {
console.log('Chatting Room: ' + state.postNum); // postNum은 roomId가 아님
console.log('Chatting Room: ' + roomId); // postNum은 roomId가 아님
// WebSocket
const webSocketUrl = 'ws://' + window.location.host + '/api/ws';
const webSocketUrl = 'ws://' + window.location.host+ ':8080/api/ws';
// const webSocketUrl = 'ws://localhost:8080/api/ws';
stompClient.current = Stomp.over(() => new WebSocket(webSocketUrl)); // Stomp Client

Expand Down

0 comments on commit 6afdb25

Please sign in to comment.