diff options
author | stale <redkugelblitzin@gmail.com> | 2022-05-11 07:00:55 -0300 |
---|---|---|
committer | stale <redkugelblitzin@gmail.com> | 2022-05-11 07:00:55 -0300 |
commit | 5d3ab3dcf8deb887877523e0293237bcee804b1b (patch) | |
tree | ad854cc97ae5558ac08a4417cb4b10f49a498a9c /page.html | |
parent | ac938b0d57d2e2630bf05668fec6b3d6c18d0450 (diff) |
Ported, it woooorks
Diffstat (limited to 'page.html')
-rw-r--r-- | page.html | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -11,11 +11,11 @@ src: url("font.ttf"); } #board-container { - font-family: vt323, monospace; font-size: 28pt; line-height: 0.6em; } body { + font-family: vt323, monospace; background-color: black; color: white; } @@ -46,7 +46,7 @@ <script> window.id = NaN; let wsproto = (window.location.protocol == "https:")? "wss:": "ws:"; - let s = new WebSocket(`${wsproto}//${window.location.hostname}:${window.location.port}`); + let s = new WebSocket(`${wsproto}//${window.location.hostname}:${window.location.port}/ws`); let info_elem = document.getElementById("miscinfo"); let board_elem = document.getElementById("board"); let name = "deadbeef"; |