Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to configure internal url #415

Open
gucki opened this issue Jan 24, 2018 · 1 comment
Open

Allow to configure internal url #415

gucki opened this issue Jan 24, 2018 · 1 comment

Comments

@gucki
Copy link

gucki commented Jan 24, 2018

Right now the internal path seems to be hardcoded to /__better_errors. See https://github.com/charliesome/better_errors/blob/master/lib/better_errors/middleware.rb#L74

It should be possible to configure/ prefix this path. This is needed if the rails project is not "mounted" at the root level, ex at /my_rails_app1/.... The correct path would then be /my_rails_app1/__better_errors

@gucki gucki changed the title allow to configure url Allow to configure internal url Jan 24, 2018
@gucki
Copy link
Author

gucki commented Feb 8, 2018

@RobinDaugherty Sorry, I don't really get it. Could you point me to the code you are referring to? In my setup it works without any problems so far...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants