Skip to content

Commit

Permalink
Fix docs for hello_server. Closes #967.
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee-Janggun committed Aug 5, 2024
1 parent e756c3a commit 0918c76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion homework/doc/hello_server.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## Expected outcome

- Execute `cargo run hello_server`. A web server should run. If it doesn't, try changing the port used in [`hello_server.rs:6`](../src/bin/hello_server.rs).
- Execute `cargo run --features="build-bin" hello_server`. A web server should run. If it doesn't, try changing the port used in [`hello_server.rs:6`](../src/bin/hello_server.rs).
- Run `curl http://localhost:7878/alice`. It should wait for a few seconds, and return a web page.
- Run `curl http://localhost:7878/alice` again. It should instantly return a web page.
- Run `curl http://localhost:7878/bob`. It should wait for a few seconds, and return a web page.
Expand Down

0 comments on commit 0918c76

Please sign in to comment.