mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Update CLI to handle missing ssl_key and ssl_cert
This commit is contained in:
parent
3e27e15e29
commit
7ffa6700de
2 changed files with 25 additions and 10 deletions
|
@ -3,9 +3,7 @@ require "./kemal/middleware/*"
|
|||
|
||||
at_exit do
|
||||
Kemal::CLI.new
|
||||
|
||||
config = Kemal.config
|
||||
|
||||
logger = Kemal::Logger.new
|
||||
config.add_handler logger
|
||||
config.add_handler Kemal::StaticFileHandler.new(config.public_folder)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue