Skip to content

Commit

Permalink
fix(cli): fix dev server port log error
Browse files Browse the repository at this point in the history
affects: @varlet/cli
  • Loading branch information
haoziqaq committed Oct 5, 2021
1 parent 4e9f81d commit 2e82806
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/varlet-cli/src/commands/dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ export async function dev(cmd: { force?: boolean }) {
await server.listen()

const host = get(varletConfig, 'host')
const port = get(varletConfig, 'port')
const ipv4 = address.ip()
const { port } = server.config.server

logger.success(`\
Server running at
Expand Down

0 comments on commit 2e82806

Please sign in to comment.