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

Bug fix for swagger UI when using long paths like "/docs/ui" #43

Closed
wants to merge 1 commit into from

Conversation

juraseg
Copy link

@juraseg juraseg commented Mar 7, 2019

When using swagger_path like "/docs/ui" instead of "/docs" the swagger page will show blank screen. The reason is that it fails to load CSS and JS files, which in turn happens because it tries to load them relatively from "/docs/static/..." instead of "/static".

I fixed this in swagger's index.html

@maximdanilchenko
Copy link
Owner

@juraseg, thanks!

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

Successfully merging this pull request may close these issues.

2 participants