diff options
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"; |