mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 01:01:39 -05:00
Update production environment
This commit is contained in:
parent
e2f1b2a26c
commit
1476816418
1 changed files with 3 additions and 3 deletions
|
|
@ -103,8 +103,8 @@ Rails.application.configure do
|
|||
# ]
|
||||
# Skip DNS rebinding protection for the default health check endpoint.
|
||||
# config.host_authorization = { exclude: ->(request) { request.path == "/up" } }
|
||||
config.hosts << ENV.fetch('APPLICATION_HOST', 'localhost')
|
||||
hosts = ENV.fetch('APPLICATION_HOSTS', 'localhost').split(',')
|
||||
|
||||
hosts = ENV.fetch('APPLICATION_HOSTS', 'localhost')
|
||||
config.hosts.concat(hosts.split(',')) if hosts.present?
|
||||
config.action_mailer.default_url_options = { host: hosts.first, port: 3000 }
|
||||
config.hosts.concat(hosts) if hosts.present?
|
||||
end
|
||||
|
|
|
|||
Loading…
Reference in a new issue