From 1d5feedd72017deef8831907eec5c87f9a685085 Mon Sep 17 00:00:00 2001 From: Benjamin Fischer <61995275+c4spar@users.noreply.github.com> Date: Thu, 28 Nov 2024 23:24:48 +0100 Subject: [PATCH] docs: update command example (#773) --- examples/command.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/examples/command.ts b/examples/command.ts index d974ddf9..84347cec 100644 --- a/examples/command.ts +++ b/examples/command.ts @@ -13,8 +13,7 @@ await new Command() default: "localhost", }) .arguments("[domain]") - .action(({ port, host }, domain = "deno.land") => { - console.log(`Listening on http://${host}:${port}`); + .action(({ port, host }, domain = "deno.com") => { Deno.serve({ hostname: host, port,