You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 15, 2020. It is now read-only.
I have an issue with the falsk restplus + swagger ui setup
I want to use a proxy for authentcation but swagger ui generates links in the html pointing to server resources on the original host, rather than the proxy.
But then swagger ui's generate HTML (this is on the client computer, so the client doesn't have access to mindsdb_server directly, only to the auth proxy) will ask for:
`localhost:mindsdb_server_port/swagger.json` (or some other static resource)
instead of asking for:
`ip:proxy_port/mindsdb_server/swagger.json`
I've attempted to fix this using werkzeug:
```
from werkzeug.middleware.proxy_fix import ProxyFix