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

global: enable flask-debugtoolbar #60

Closed
slint opened this issue May 23, 2018 · 1 comment
Closed

global: enable flask-debugtoolbar #60

slint opened this issue May 23, 2018 · 1 comment

Comments

@slint
Copy link
Member

slint commented May 23, 2018

For the Flask-Debugtoolbar extension to work, it must also be added the invenio_base.apps entrypoints

Another problem though is that CSP headers are not playing well with the extension: pallets-eco/flask-debugtoolbar#88

@dinosk dinosk self-assigned this Aug 15, 2018
@dinosk dinosk removed their assignment Aug 15, 2018
@dinosk
Copy link
Member

dinosk commented Aug 15, 2018

The issue was opened in 2015 so I don't think it'll be fixed with the suggestion mentioned there. We could maybe turn off CSP for debug mode, or set it to allow inline javascript https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/script-src?

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

No branches or pull requests

3 participants