Skip to content

Commit

Permalink
Fix link bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ryo33 committed Nov 30, 2024
1 parent dd2afd2 commit 3e02a56
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@
// join room by key
if (params.get("key")) {
window.localStorage.setItem("key", params.get("key"));
// ensure the socket is prepared when the room key is provided.
reconnect();
} else {
window.localStorage.removeItem("key");
}
Expand Down

0 comments on commit 3e02a56

Please sign in to comment.