Skip to content

Commit

Permalink
Merge pull request #279 from bondehagen/patch-1
Browse files Browse the repository at this point in the history
Change host to string for start command, to be able to set host
  • Loading branch information
ryansolid authored Jul 10, 2024
2 parents 33dc7d6 + 0208a90 commit 7daf924
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/smart-readers-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vinxi": patch
---

Change host to string for start command, to be able to set host
4 changes: 2 additions & 2 deletions packages/vinxi/bin/cli.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ const command = defineCommand({
description: "Port to listen on (default: 3000)",
},
host: {
type: "boolean",
description: "Expose to host (default: false)",
type: "string",
description: "Expose to host (default: 0.0.0.0)",
},
},
async run({ args }) {
Expand Down

0 comments on commit 7daf924

Please sign in to comment.