flask-debugtoolbar icon indicating copy to clipboard operation
flask-debugtoolbar copied to clipboard

toolbar static files are misconfigured when reverse proxying to subfolder

Open ser opened this issue 8 years ago • 1 comments

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 avatar Dec 29 '17 14:12 ser

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

ser avatar Jun 20 '18 08:06 ser