BetterErrors / better_errors

Better error page for Rack apps
MIT License
6.88k stars 437 forks source link

Add option to allow acccess to BetterErrors from all ip's #431

Closed PragmaticEd closed 5 years ago

PragmaticEd commented 5 years ago

Since multiple people already wanted this and i personally cannot work without this feature (since i need to constantly work on multiple devices on multiple networks, that makes it a pain to track ip's), i created this small edit.

I think this should be a good enough solution, that i would like to see merged in to the gem.

RobinDaugherty commented 5 years ago

Thank you for your contribution @PragmaticEd!

As much as I like the additional warnings you added, what you're trying to do can already be accomplished by allowing "0.0.0.0/0" and "::/0" if you want to cover both IPv4 and IPv6.

Please let me know if these don't work for you.