summaryrefslogtreecommitdiff
path: root/std/http/server.ts
diff options
context:
space:
mode:
author迷渡 <justjavac@gmail.com>2020-04-28 21:05:14 +0800
committerGitHub <noreply@github.com>2020-04-28 09:05:14 -0400
commit5a03e42117d537494ae7f331ab48bfb0ed40310f (patch)
tree31edcf424adcd4a8869c3a16ac2ebbabecdf0c51 /std/http/server.ts
parent2cb875bcfb272057e83ed56b9020291837d96998 (diff)
typo (#4962)
Diffstat (limited to 'std/http/server.ts')
-rw-r--r--std/http/server.ts2
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 });
* });
*