From ba96b4e8bf9fa647a0502802f22059a883f7361b Mon Sep 17 00:00:00 2001 From: Benjamin Fischer <61995275+c4spar@users.noreply.github.com> Date: Thu, 28 Nov 2024 23:18:01 +0100 Subject: [PATCH] docs: update command example --- 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,