Merge pull request #588 from sunnyone/fix_host_option
Pass the value of --host parameter to Rack::Server
This commit is contained in:
+1
-1
@@ -185,6 +185,6 @@ else
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
# Rack::Handler does not work with Ctrl + C. Use Rack::Server instead.
|
# 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
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user