Skip to content

Commit

Permalink
Remove host restriction
Browse files Browse the repository at this point in the history
  • Loading branch information
naomichi-y committed Jun 20, 2022
1 parent aa3c932 commit ec24489
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ec24489

Please sign in to comment.