Skip to content

Commit

Permalink
fix(docz-core): change config hosts to support windows os
Browse files Browse the repository at this point in the history
  • Loading branch information
Swapnull authored and pedronauck committed Jun 12, 2018
1 parent c550a26 commit 9e3c4f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docz-core/src/commands/args.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const args = (yargs: any) => {
})
yargs.positional('host', {
type: 'string',
default: process.env.HOST || '0.0.0.0',
default: process.env.HOST || '127.0.0.1',
})
yargs.positional('port', {
alias: 'p',
Expand All @@ -100,7 +100,7 @@ export const args = (yargs: any) => {
})
yargs.positional('websocketHost', {
type: 'string',
default: process.env.WEBSOCKET_HOST || '0.0.0.0',
default: process.env.WEBSOCKET_HOST || '127.0.0.1',
})
yargs.positional('websocketPort', {
type: 'number',
Expand Down

0 comments on commit 9e3c4f6

Please sign in to comment.