Skip to content

Commit

Permalink
change to wss
Browse files Browse the repository at this point in the history
  • Loading branch information
zjayee committed Dec 4, 2023
1 parent 986bcae commit 67ed1b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export function connectWebsocket(userRole, sessionID) {
sessionId = sessionID;

client = new Client({
brokerURL: "ws://connect.greenplant-1b2a73a7.eastus.azurecontainerapps.io/callhub",
brokerURL: "wss://connect.greenplant-1b2a73a7.eastus.azurecontainerapps.io/callhub",
onConnect: () => {
// subscribe to messages
client.subscribe(`/topic/message-${role}/${sessionId}`, (message) => {
Expand Down

0 comments on commit 67ed1b9

Please sign in to comment.