Permalink
Browse files

Pass the value of --host parameter to Rack::Server

  • Loading branch information...
Yoichi Imai
Yoichi Imai committed Nov 17, 2012
1 parent 8f56df2 commit 8bb12e80f73d0b1139915a8bec70a0289d2b6e4b
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/gollum
View
@@ -201,6 +201,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

0 comments on commit 8bb12e8

Please sign in to comment.