diff --git a/doc/events/http_failure.md b/doc/events/http_failure.md index d7572e601..dc10b40d7 100644 --- a/doc/events/http_failure.md +++ b/doc/events/http_failure.md @@ -16,7 +16,7 @@ This event is normally handled inside @{http.get} and @{http.post}, but it can s ## Example Prints an error why the website cannot be contacted: ```lua -local myURL = "http://this.website.does.not.exist" +local myURL = "https://does.not.exist.tweaked.cc" http.request(myURL) local event, url, err repeat diff --git a/doc/events/websocket_closed.md b/doc/events/websocket_closed.md index 60a8f59c2..9e3783d19 100644 --- a/doc/events/websocket_closed.md +++ b/doc/events/websocket_closed.md @@ -11,7 +11,7 @@ The @{websocket_closed} event is fired when an open WebSocket connection is clos ## Example Prints a message when a WebSocket is closed (this may take a minute): ```lua -local myURL = "ws://echo.websocket.org" +local myURL = "wss://example.tweaked.cc/echo" local ws = http.websocket(myURL) local event, url repeat diff --git a/doc/events/websocket_failure.md b/doc/events/websocket_failure.md index f53bf10af..eef34e777 100644 --- a/doc/events/websocket_failure.md +++ b/doc/events/websocket_failure.md @@ -15,7 +15,7 @@ This event is normally handled inside @{http.websocket}, but it can still be see ## Example Prints an error why the website cannot be contacted: ```lua -local myURL = "ws://this.website.does.not.exist" +local myURL = "wss://example.tweaked.cc/not-a-websocket" http.websocketAsync(myURL) local event, url, err repeat diff --git a/doc/events/websocket_message.md b/doc/events/websocket_message.md index f42dcaefe..53b9d4bd2 100644 --- a/doc/events/websocket_message.md +++ b/doc/events/websocket_message.md @@ -14,7 +14,7 @@ This event is normally handled by @{http.Websocket.receive}, but it can also be ## Example Prints a message sent by a WebSocket: ```lua -local myURL = "ws://echo.websocket.org" +local myURL = "wss://example.tweaked.cc/echo" local ws = http.websocket(myURL) ws.send("Hello!") local event, url, message diff --git a/doc/events/websocket_success.md b/doc/events/websocket_success.md index dc8d95dd2..dcde934b3 100644 --- a/doc/events/websocket_success.md +++ b/doc/events/websocket_success.md @@ -15,7 +15,7 @@ This event is normally handled inside @{http.websocket}, but it can still be see ## Example Prints the content of a website (this may fail if the request fails): ```lua -local myURL = "ws://echo.websocket.org" +local myURL = "wss://example.tweaked.cc/echo" http.websocketAsync(myURL) local event, url, handle repeat diff --git a/src/main/resources/data/computercraft/lua/rom/motd.txt b/src/main/resources/data/computercraft/lua/rom/motd.txt index d94437ab9..0c5db751b 100644 --- a/src/main/resources/data/computercraft/lua/rom/motd.txt +++ b/src/main/resources/data/computercraft/lua/rom/motd.txt @@ -1,4 +1,4 @@ -Please report bugs at https://github.com/Merith-TK/cc-restiched. Thanks! +Please report bugs at https://github.com/Merith-TK/cc-restitched/issues. Thanks! View the documentation at https://tweaked.cc Show off your programs or ask for help at our forum: https://forums.computercraft.cc You can disable these messages by running "set motd.enable false".