Mercurial
diff mrjunejune/src/talk/index.html @ 143:276bb3555034
Should work now.
| author | June Park <parkjune1995@gmail.com> |
|---|---|
| date | Fri, 09 Jan 2026 13:13:27 -0800 |
| parents | e8f693bece90 |
| children | c1eab8c0b0f9 |
line wrap: on
line diff
--- a/mrjunejune/src/talk/index.html Fri Jan 09 13:09:52 2026 -0800 +++ b/mrjunejune/src/talk/index.html Fri Jan 09 13:13:27 2026 -0800 @@ -25,7 +25,7 @@ <script> const host = window.location.hostname; const port = '6969'; - const url = host === "mrjunejune.com" ? `ws://${host}/echo` : `ws://${host}:${port}/echo`; + const url = host === "mrjunejune.com" ? `wss://${host}/echo` : `ws://${host}:${port}/echo`; const ws = new WebSocket(url); const messagesDiv = document.getElementById('messages');