From 25d1cdd2e06901da757aed2319d01421c2c999bb Mon Sep 17 00:00:00 2001 From: Joshua Wehner Date: Tue, 26 Sep 2023 10:40:00 +0200 Subject: [PATCH] Tweak config to enable rails console requests (#20157) --- config/environments/development.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/config/environments/development.rb b/config/environments/development.rb index 21263efb4..ab5261d45 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -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