Skip to content

Commit

Permalink
fix: host name resolve
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 11, 2021
1 parent a78ec6b commit 8ee5148
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/slidev/node/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ cli.command(
server: {
port,
open,
host: remote ? '0.0.0.0' : false,
host: remote ? '0.0.0.0' : 'localhost',
},
logLevel: log as LogLevel,
},
Expand Down

0 comments on commit 8ee5148

Please sign in to comment.