mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Changed default mode to development
This commit is contained in:
parent
79ef2f30f7
commit
bde69e1cdb
4 changed files with 2 additions and 4 deletions
|
@ -7,7 +7,7 @@ at_exit do
|
|||
Kemal.config.port = opt_port.to_i
|
||||
end
|
||||
opts.on("-e ", "--environment ", "environment") do |env|
|
||||
Kemal.config.env = env
|
||||
env ? Kemal.config.env = env : "development"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
module Kemal
|
||||
|
||||
class Config
|
||||
INSTANCE = Config.new
|
||||
HANDLERS = [] of HTTP::Handler
|
||||
|
|
|
@ -33,5 +33,4 @@ class Kemal::Logger < HTTP::Handler
|
|||
|
||||
"#{(millis * 1000).round(2)}µs"
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue