mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-20 00:08:55 +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
Notes:
sideshowbarker
2024-07-17 19:43:23 +09:00
Author: https://github.com/alimpfard
Commit: d66c513131
Pull-request: https://github.com/SerenityOS/serenity/pull/12235
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/sin-ack ✅
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