mirror of
https://github.com/denoland/deno.git
synced 2024-11-26 16:09:27 -05:00
typo (#4962)
This commit is contained in:
parent
2cb875bcfb
commit
5a03e42117
1 changed files with 1 additions and 1 deletions
|
@ -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 });
|
||||
* });
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue