Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
justjavac authored Apr 28, 2020
1 parent a1cbc1a commit 7834309
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 7834309

Please sign in to comment.