Skip to content

Commit

Permalink
docs(examples): respond with "Hello, world!" (#99)
Browse files Browse the repository at this point in the history
<!--
This pull request template provides suggested sections for framing your
work.
You're welcome to change or remove headers if it doesn't fit your use
case. :)
-->

### 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 😉
  • Loading branch information
francisfuzz authored Sep 18, 2024
1 parent 7914799 commit 38e210f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/hello-world/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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());
});

Expand Down

0 comments on commit 38e210f

Please sign in to comment.