From ec244896f5bc8d878a1ee85424ce2400adbbc53b Mon Sep 17 00:00:00 2001 From: EC2 Default User Date: Mon, 20 Jun 2022 12:56:19 +0000 Subject: [PATCH] Remove host restriction --- config/environments/development.rb | 2 +- config/environments/production.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/environments/development.rb b/config/environments/development.rb index b554620f..cf3ee23d 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -55,7 +55,7 @@ logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) - config.hosts << URI.parse(Settings.console.url).host + config.hosts.clear BetterErrors::Middleware.allow_ip! '0.0.0.0/0' end diff --git a/config/environments/production.rb b/config/environments/production.rb index a23e6490..441d65e3 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -108,5 +108,5 @@ logger.formatter = config.log_formatter config.logger = ActiveSupport::TaggedLogging.new(logger) - config.hosts << URI.parse(Settings.console.url).host + config.hosts.clear end