Merge pull request #1254 from Arcovion/patch-1
Change default IP for CLI server
This commit is contained in:
commit
9d0eb72e73
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ module Middleman::Cli
|
||||||
method_option :host,
|
method_option :host,
|
||||||
:type => :string,
|
:type => :string,
|
||||||
:aliases => '-h',
|
:aliases => '-h',
|
||||||
:default => '0.0.0.0',
|
:default => Socket.ip_address_list.find(&:ipv4_private?).ip_address,
|
||||||
:desc => 'Bind to HOST address'
|
:desc => 'Bind to HOST address'
|
||||||
method_option :port,
|
method_option :port,
|
||||||
:aliases => '-p',
|
:aliases => '-p',
|
||||||
|
|
Loading…
Add table
Reference in a new issue