mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
- set kemal to production mode if using --release
This commit is contained in:
parent
b176da4c29
commit
4f73f48731
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user