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
If we go to /api/docs/webjars/swagger-ui/index.html, the Swagger "Computed URL" always says http://localhost:3000/. Because of that, when clicking Try it out button, it tries to make queries against http://localhost:3000/, which may not be accessible from the client.
Same "localhost" config is seen in the /api/docs/openapi.json (I'm assuming that's where Swagger is getting the path from)
Expected Behavior
Swagger should use a proper api endpoint with external address.
Steps to reproduce
Make Swagger use the "external URL" path configured in ENV variables, instead of Localhost,
Environment
Docker compose multi image
v2.5.3
Additional Information
No response
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Current Behavior
If we go to /api/docs/webjars/swagger-ui/index.html, the Swagger "Computed URL" always says
http://localhost:3000/
. Because of that, when clicking Try it out button, it tries to make queries againsthttp://localhost:3000/
, which may not be accessible from the client.Same "localhost" config is seen in the /api/docs/openapi.json (I'm assuming that's where Swagger is getting the path from)
Expected Behavior
Swagger should use a proper api endpoint with external address.
Steps to reproduce
Make Swagger use the "external URL" path configured in ENV variables, instead of Localhost,
Environment
Docker compose multi image
v2.5.3
Additional Information
No response
The text was updated successfully, but these errors were encountered: