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

toolbar static files are misconfigured when reverse proxying to subfolder #117

Open
ser opened this issue Dec 29, 2017 · 1 comment
Open

Comments

@ser
Copy link

ser commented Dec 29, 2017

Toolbar sets /_debug_toolbar URI when I reverse proxy flask through nginx to a subfolder /xxx - instead of /xxx/_debug_toolbar

I hacked it by copying .js and .css files into flask static files directory and modifying templates/base.html - but it is an ugly hack.

@ser
Copy link
Author

ser commented Jun 20, 2018

I can confirm this very serious bug in flask 1.0.2, IMHO toolbar ignores completely SUBDIR

https://github.com/mgood/flask-debugtoolbar/blob/master/flask_debugtoolbar/__init__.py#L81

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

No branches or pull requests

1 participant