diff options
Diffstat (limited to 'static/index.js')
| -rw-r--r-- | static/index.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/static/index.js b/static/index.js deleted file mode 100644 index ad39c4f..0000000 --- a/static/index.js +++ /dev/null @@ -1,12 +0,0 @@ -window.onload = () => { - const ws = new WebSocket("/ws"); - ws.onopen = () => { - console.log("connected"); - }; - ws.onmessage = (e) => { - console.log(e); - }; - ws.onclose = (e) => { - console.log("disconnected", e); - }; -}; |
