mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -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
|
add_handler AuthHandler.new storage
|
||||||
|
|
||||||
|
{% if flag?(:release) %}
|
||||||
|
Kemal.config.env = "production"
|
||||||
|
{% end %}
|
||||||
Kemal.config.port = config.port
|
Kemal.config.port = config.port
|
||||||
Kemal.run
|
Kemal.run
|
||||||
|
Loading…
x
Reference in New Issue
Block a user