Skip to content

Commit

Permalink
Merge pull request #9100 from alphagov/fix-better-errors-in-docker
Browse files Browse the repository at this point in the history
Allow Better Errors to work with Docker
  • Loading branch information
pezholio authored Jun 3, 2024
2 parents 23902fa + 0399fb0 commit 9ed7e3f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/initializers/better_errors.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if Rails.env.development?
BetterErrors::Middleware.allow_ip! "0.0.0.0/0"
end

0 comments on commit 9ed7e3f

Please sign in to comment.