mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
- set kemal to production mode if using --release
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user