Added fetching message on start
This commit is contained in:
parent
f419e9faf0
commit
d11d208f76
1 changed files with 1 additions and 0 deletions
|
@ -2,6 +2,7 @@ const socket = new WebSocket('wss://eas-ws.nin0.dev');
|
||||||
|
|
||||||
socket.onopen = function(event) {
|
socket.onopen = function(event) {
|
||||||
log("Connection opened")
|
log("Connection opened")
|
||||||
|
sendMessage("GET")
|
||||||
};
|
};
|
||||||
|
|
||||||
socket.onmessage = function(event) {
|
socket.onmessage = function(event) {
|
||||||
|
|
Reference in a new issue