Skip to content

Commit

Permalink
docs: update command example
Browse files Browse the repository at this point in the history
  • Loading branch information
c4spar authored Nov 28, 2024
1 parent 3d9913b commit ba96b4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions examples/command.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ba96b4e

Please sign in to comment.