mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-28 02:11:40 +00:00
Added sidenav and random logo
This commit is contained in:
7
Site/JS/main.js
Normal file
7
Site/JS/main.js
Normal file
@@ -0,0 +1,7 @@
|
||||
let ws = new WebSocket("ws://localhost:8888/websocket");
|
||||
ws.onopen = function () {
|
||||
ws.send("hello");
|
||||
}
|
||||
ws.onmessage = function (ev) {
|
||||
alert(ev.data);
|
||||
}
|
||||
Reference in New Issue
Block a user