mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Merge pull request #132 from dabrorius/master
Don't convert host_binding to slice when instantiating server
This commit is contained in:
commit
21d37f564d
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue