Skip to content

Commit

Permalink
Merge pull request #25 from tomato-market/hotfix/0.3.1
Browse files Browse the repository at this point in the history
[Hotfix/0.3.1] WebSocket URL 수정
  • Loading branch information
Hyunuk17 authored Nov 8, 2023
2 parents 3ebefbe + 564efaf commit 9901714
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 9901714

Please sign in to comment.