Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
justjavac authored and caspervonb committed Jan 31, 2021
1 parent 219463b commit 36c77d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@ export function serve(addr: string | HTTPOptions): Server {
*
* const body = "Hello World\n";
* const options = { port: 8000 };
* listenAndServeTLS(options, (req) => {
* listenAndServe(options, (req) => {
* req.respond({ body });
* });
*
Expand Down

0 comments on commit 36c77d2

Please sign in to comment.