We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 764fcd7 commit b123067Copy full SHA for b123067
lib/http-server.js
@@ -9,7 +9,7 @@ var flatiron = require('flatiron'),
9
var opts = {
10
root: argv._[0] || (path.existsSync("./public") ? "./public" : "./"),
11
port: argv.p || 8080,
12
- host: argv.a || 'localhost',
+ host: argv.a || '0.0.0.0',
13
cache: argv.c || 3600, // in seconds.
14
autoIndex: argv.i || true,
15
silent: argv.s || argv.silent || false,
@@ -22,7 +22,7 @@ var showHelp = function () {
22
"",
23
"options:",
24
" -p Port to use [8080]",
25
- " -a Address to use [localhost]",
+ " -a Address to use [0.0.0.0]",
26
" -i Display autoIndex [true]",
27
" -s --silent Suppress log messages from output",
28
" -h --help Print this list and exit.",
0 commit comments