Skip to content

Commit

Permalink
Merge pull request #146 from HyeokjinKang/debug-end
Browse files Browse the repository at this point in the history
chore: removing debug code
  • Loading branch information
HyeokjinKang authored Apr 16, 2024
2 parents 9c4f911 + 236ed1e commit 134b0d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion public/js/globalSocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ socket.on("connect", () => {
});

socket.on("disconnect", (reason) => {
alert(reason);
if (reason === "io server disconnect") {
alert(socketi18n.error);
window.location.href = `${api}/auth/logout?redirect=true`; // Session error, need to relogin
Expand Down

0 comments on commit 134b0d0

Please sign in to comment.