diff options
author | 迷渡 <justjavac@gmail.com> | 2020-04-28 21:05:14 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 09:05:14 -0400 |
commit | 5a03e42117d537494ae7f331ab48bfb0ed40310f (patch) | |
tree | 31edcf424adcd4a8869c3a16ac2ebbabecdf0c51 /std/http/server.ts | |
parent | 2cb875bcfb272057e83ed56b9020291837d96998 (diff) |
typo (#4962)
Diffstat (limited to 'std/http/server.ts')
-rw-r--r-- | std/http/server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/std/http/server.ts b/std/http/server.ts index 79d83129d..bc48d4628 100644 --- a/std/http/server.ts +++ b/std/http/server.ts @@ -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 }); * }); * |