lib/firehose/cli.rb in firehose-0.0.6 vs lib/firehose/cli.rb in firehose-0.0.7
- old
+ new
@@ -2,10 +2,10 @@
module Firehose
class CLI < Thor
desc "start", "starts the firehose server"
method_option :port, :type => :numeric, :default => 7474, :required => true, :aliases => '-p'
- method_option :host, :type => :string, :default => '127.0.0.1', :required => true, :aliases => '-h'
+ method_option :host, :type => :string, :default => '0.0.0.0', :required => true, :aliases => '-h'
def start
require 'thin'
server = Thin::Server.new(options[:host], options[:port]) do
run Firehose::Rack::App.new
\ No newline at end of file