Don't convert host_binding to slice when instantiating server

This commit is contained in:
Filip Defar 2016-03-22 21:20:21 +01:00
parent 839d120a50
commit a8ff776b49
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 {