diff --git a/websockets/README.md b/websockets/README.md index 4bfd02c..7e1f66f 100644 --- a/websockets/README.md +++ b/websockets/README.md @@ -1,6 +1,6 @@ # WebSockets - [Live Demo](https://ellie-app.com/8yYgw7y7sM2a1) -This is a minimal example of how to connect to a WebSocket. It connects to `wss://echo.websocket.org` which just repeats whatever you say. +This is a minimal example of how to connect to a WebSocket. It connects to `wss://ws.postman-echo.com/raw` which just repeats whatever you say. ![Demo](demo.gif) diff --git a/websockets/index.html b/websockets/index.html index c0cc255..080f244 100644 --- a/websockets/index.html +++ b/websockets/index.html @@ -19,7 +19,7 @@ }); // Create your WebSocket. -var socket = new WebSocket('wss://echo.websocket.org'); +var socket = new WebSocket('wss://ws.postman-echo.com/raw'); // When a command goes to the `sendMessage` port, we pass the message // along to the WebSocket.