Fix binding

This commit is contained in:
Sdogruyol 2015-12-12 21:35:17 +02:00
parent 58f9d8c590
commit 8522fd2f56
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ at_exit do
config.add_handler Kemal::StaticFileHandler.new(config.public_folder)
config.add_handler Kemal::Handler::INSTANCE
server = HTTP::Server.new(config.port, config.handlers)
server = HTTP::Server.new("0.0.0.0", config.port, config.handlers)
server.ssl = config.ssl
logger.write "[#{config.env}] Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n"