mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Added config env to startup message
This commit is contained in:
parent
f66e9cd834
commit
485fed11af
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ at_exit do
|
||||||
|
|
||||||
server = HTTP::Server.new(config.port, config.handlers)
|
server = HTTP::Server.new(config.port, config.handlers)
|
||||||
server.ssl = config.ssl
|
server.ssl = config.ssl
|
||||||
logger.write "Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n"
|
logger.write "[#{config.env}] Kemal is ready to lead at #{config.scheme}://0.0.0.0:#{config.port}\n"
|
||||||
|
|
||||||
Signal::INT.trap {
|
Signal::INT.trap {
|
||||||
logger.handler.close
|
logger.handler.close
|
||||||
|
|
Loading…
Reference in a new issue