We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3567775 commit 2cf6663Copy full SHA for 2cf6663
config/environments/production.rb
@@ -111,5 +111,5 @@
111
# config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver
112
# config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session
113
114
- config.hosts = ENV['OOD_PUN_RAILS_CONFIG_HOSTS'].nil? ? nil : ENV['OOD_PUN_RAILS_CONFIG_HOSTS'].split(',')
+ config.hosts = ENV['ALLOWED_HOSTS'].nil? ? [] : ENV['ALLOWED_HOSTS'].split(',')
115
end
0 commit comments