From 9e3c4f667ae1de878d88e226a9d28bb2a82634fd Mon Sep 17 00:00:00 2001 From: Martyn Rushton Date: Tue, 12 Jun 2018 23:19:38 +0100 Subject: [PATCH] fix(docz-core): change config hosts to support windows os --- packages/docz-core/src/commands/args.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/docz-core/src/commands/args.ts b/packages/docz-core/src/commands/args.ts index ef45a89b6..cced7d0b8 100644 --- a/packages/docz-core/src/commands/args.ts +++ b/packages/docz-core/src/commands/args.ts @@ -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', @@ -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',