Merge pull request #132 from dabrorius/master

Don't convert host_binding to slice when instantiating server
This commit is contained in:
Serdar Dogruyol 2016-03-22 23:10:41 +02:00
commit 21d37f564d
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ module Kemal
config.setup
config.add_handler Kemal::RouteHandler::INSTANCE
server = HTTP::Server.new(config.host_binding.not_nil!.to_slice, config.port, config.handlers)
server = HTTP::Server.new(config.host_binding.not_nil!, config.port, config.handlers)
server.ssl = config.ssl
Signal::INT.trap {