Merge pull request #588 from sunnyone/fix_host_option

Pass the value of --host parameter to Rack::Server
This commit is contained in:
bootstraponline
2012-11-17 13:04:38 -08:00
+1 -1
View File
@@ -185,6 +185,6 @@ else
end
end
# Rack::Handler does not work with Ctrl + C. Use Rack::Server instead.
Rack::Server.new(:app => MapGollum.new(base_path), :Port => options['port']).start
Rack::Server.new(:app => MapGollum.new(base_path), :Port => options['port'], :Host => options['bind']).start
end
end