From 38e210f8d3681c5584a220f3aed996d35a05f754 Mon Sep 17 00:00:00 2001 From: francisfuzz <15894826+francisfuzz@users.noreply.github.com> Date: Tue, 17 Sep 2024 20:01:02 -0700 Subject: [PATCH] docs(examples): respond with "Hello, world!" (#99) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### What are you trying to accomplish? This PR updates the example message we write back to the client with "Hello, world!" rather than a variant of my name. 😉 ### What approach did you choose and why? One-liner change: targeted the text and updated it to match the file's intent. ### What should reviewers focus on? Nothing I haven't mentioned 😉 --- examples/hello-world/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/hello-world/index.js b/examples/hello-world/index.js index da6ecc6..8c56007 100644 --- a/examples/hello-world/index.js +++ b/examples/hello-world/index.js @@ -12,7 +12,7 @@ const server = createServer((request, response) => { return response.end("ok"); } - response.write(createTextEvent("Hello, Francis Fuzz!")); + response.write(createTextEvent("Hello, world!")); response.end(createDoneEvent()); });