Adds config.hosts option in development environment (#8295)
This commit is contained in:
parent
dd1cfd33e0
commit
97fb2f9973
1 changed files with 1 additions and 0 deletions
|
|
@ -74,6 +74,7 @@ Rails.application.configure do
|
|||
|
||||
config.action_mailer.perform_caching = false
|
||||
|
||||
config.hosts << ENV["APP_DOMAIN"] unless ENV["APP_DOMAIN"].nil?
|
||||
config.app_domain = "localhost:3000"
|
||||
|
||||
config.action_mailer.default_url_options = { host: "localhost:3000" }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue