Tweak config to enable rails console requests (#20157)

This commit is contained in:
Joshua Wehner 2023-09-26 10:40:00 +02:00 committed by GitHub
parent 410b4c4ef7
commit 25d1cdd2e0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,6 +90,9 @@ Rails.application.configure do
if (uffizzi_url = ENV.fetch("UFFIZZI_URL", nil))
config.hosts << /.*#{URI.parse(uffizzi_url).host}/
end
config.hosts << "www.example.com"
config.app_domain = ENV.fetch("APP_DOMAIN", "localhost:3000")
config.action_mailer.delivery_method = :smtp