mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Don't convert host_binding to slice when instantiating server
This commit is contained in:
parent
839d120a50
commit
a8ff776b49
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ module Kemal
|
||||||
config.setup
|
config.setup
|
||||||
config.add_handler Kemal::RouteHandler::INSTANCE
|
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
|
server.ssl = config.ssl
|
||||||
|
|
||||||
Signal::INT.trap {
|
Signal::INT.trap {
|
||||||
|
|
Loading…
Reference in a new issue