- set kemal to production mode if using --release

This commit is contained in:
Alex Ling 2020-02-15 18:34:26 +00:00
parent b176da4c29
commit 4f73f48731

View File

@ -295,5 +295,8 @@ end
add_handler AuthHandler.new storage
{% if flag?(:release) %}
Kemal.config.env = "production"
{% end %}
Kemal.config.port = config.port
Kemal.run