summaryrefslogtreecommitdiff
path: root/std
diff options
context:
space:
mode:
Diffstat (limited to 'std')
-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 });
* });
*