Base: Replace the WebSocket demo target URL with a working one

websocket.org was shutdown somewhere in late 2021, switch to
websocket.events to make the demo work.
This commit is contained in:
Ali Mohammad Pur 2022-02-04 14:12:21 +03:30 committed by Andreas Kling
parent 8339415939
commit d66c513131

View file

@ -17,7 +17,7 @@
}
// Websocket echo server, provided from https://www.websocket.org/echo.html
var targetUrl = "wss://echo.websocket.org";
var targetUrl = "wss://echo.websocket.events";
var messageContent = "Hello friends :^)";
println('<span style="color: blue;">Connecting to:</span> ' + targetUrl);
websocket = new WebSocket(targetUrl);