mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Fix ssl and specs for 0.18
This commit is contained in:
parent
74044d62e9
commit
ac4a5afc05
8 changed files with 35 additions and 35 deletions
|
@ -10,7 +10,7 @@ module Kemal
|
|||
config.add_handler Kemal::RouteHandler::INSTANCE
|
||||
|
||||
config.server = HTTP::Server.new(config.host_binding.not_nil!, config.port, config.handlers)
|
||||
config.server.not_nil!.ssl = config.ssl
|
||||
config.server.not_nil!.tls = config.ssl
|
||||
|
||||
unless Kemal.config.error_handlers.has_key?(404)
|
||||
error 404 do |env|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue