mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Add host to config
This commit is contained in:
@@ -49,9 +49,7 @@ class Server
|
||||
{% if flag?(:release) %}
|
||||
Kemal.config.env = "production"
|
||||
{% end %}
|
||||
unless Config.current.auth_proxy_header_name.empty?
|
||||
Kemal.config.host_binding = "127.0.0.1"
|
||||
end
|
||||
Kemal.config.host_binding = Config.current.host
|
||||
Kemal.config.port = Config.current.port
|
||||
Kemal.run
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user