PWZER / swagger-ui-py

Swagger UI for Python web framework, such Tornado, Flask and Sanic. https://pwzer.github.io/swagger-ui-py/
https://pypi.org/project/swagger-ui-py
Apache License 2.0
68 stars 31 forks source link

host overwrite #10

Closed pasqLisena closed 4 years ago

pasqLisena commented 4 years ago

The software is always overwriting the host declared in the config with the current host of the server. This breaks the uris in swagger when used in Docker environment.

I add a further if for avoiding it