mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
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:
parent
8339415939
commit
d66c513131
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
// Websocket echo server, provided from https://www.websocket.org/echo.html
|
// 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 :^)";
|
var messageContent = "Hello friends :^)";
|
||||||
println('<span style="color: blue;">Connecting to:</span> ' + targetUrl);
|
println('<span style="color: blue;">Connecting to:</span> ' + targetUrl);
|
||||||
websocket = new WebSocket(targetUrl);
|
websocket = new WebSocket(targetUrl);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue