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

This commit is contained in:
Yoichi Imai
2012-11-17 19:42:28 +09:00
parent 8b3d944fd2
commit 2b5e017aa1
+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