From 5a03e42117d537494ae7f331ab48bfb0ed40310f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=BF=B7=E6=B8=A1?= Date: Tue, 28 Apr 2020 21:05:14 +0800 Subject: typo (#4962) --- std/http/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/http') 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 }); * }); * -- cgit v1.2.3