Skip to content

Commit

Permalink
changed ws to wss
Browse files Browse the repository at this point in the history
  • Loading branch information
Rishab87 committed Jun 28, 2024
1 parent 36c1d92 commit b6ed249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/questions/[questionId]/CodeEditor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const CodeEditor = ({config , questionId , setMessage , setLoading , loading}:{c

setLoading(true);

const socket = new WebSocket("ws://backend-codeitup.azurewebsites.net");
const socket = new WebSocket("wss://backend-codeitup.azurewebsites.net");
socket.onopen = () => {
setSocket(socket);
socket.send(JSON.stringify({userId: user.id , close: false}));
Expand Down

0 comments on commit b6ed249

Please sign in to comment.