Fix config

This commit is contained in:
sdogruyol 2016-02-12 10:22:52 +02:00
parent 850af8819e
commit 454894820d

View file

@ -10,7 +10,7 @@ module Kemal
@env = "development" unless @env @env = "development" unless @env
@public_folder = "./public" @public_folder = "./public"
@logging = true @logging = true
@logger = Kemal::LogHandler.new(@env) unless @logging @logger = Kemal::LogHandler.new(@env) if @logging
end end
def scheme def scheme