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

Swagger isn't loaded in Prod. mode #83

Closed
X1Zeth2X opened this issue Nov 11, 2019 · 1 comment
Closed

Swagger isn't loaded in Prod. mode #83

X1Zeth2X opened this issue Nov 11, 2019 · 1 comment
Labels
bug Something isn't working

Comments

@X1Zeth2X
Copy link
Member

Swagger UI can't be loaded in a production setting this is because of Flask Talisman breaking it by not allowing inline styles and scripts. It works fine in DEBUG mode though. Related open issue can be found here.

@X1Zeth2X X1Zeth2X added the bug Something isn't working label Nov 11, 2019
@X1Zeth2X
Copy link
Member Author

X1Zeth2X commented Dec 1, 2019

So far, I haven't found any solution/fixes and simply disabling talisman can work. Although on a production environment and if the project is stable, I'd re-enable it.

@X1Zeth2X X1Zeth2X closed this as completed Dec 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant