mirror of
https://github.com/hkalexling/Mango.git
synced 2026-05-01 00:00:55 -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
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user