[GH-ISSUE #561] [BUG]: Documentation URL incorrect on remote hosting #328

Closed
opened 2026-02-22 18:18:59 -05:00 by yindo · 0 comments
Owner

Originally created by @timothycarambat on GitHub (Jan 9, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/561

How are you running AnythingLLM?

Not listed

What happened?

When visiting the /api/docs URL and you are not on localhost the documentation URLs are all incorrect.

https://example.useanything.com/api/docs => http://api/v1/workspace/example-workspace/chat

The API docs URL should show the hostname, whatever it is in the Swagger docs.

Are there known steps to reproduce?

Host AnythingLLM on a remote IP
visit documentation URL
notice that the API paths are missing the host

Originally created by @timothycarambat on GitHub (Jan 9, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/561 ### How are you running AnythingLLM? Not listed ### What happened? When visiting the `/api/docs` URL and you are not on localhost the documentation URLs are all incorrect. `https://example.useanything.com/api/docs` => `http://api/v1/workspace/example-workspace/chat` The API docs URL should show the hostname, whatever it is in the Swagger docs. ### Are there known steps to reproduce? Host AnythingLLM on a remote IP visit documentation URL notice that the API paths are missing the host
yindo added the bug label 2026-02-22 18:18:59 -05:00
yindo closed this issue 2026-02-22 18:18:59 -05:00
yindo changed title from [BUG]: Documentation URL incorrect on remote hosting to [GH-ISSUE #561] [BUG]: Documentation URL incorrect on remote hosting 2026-06-05 14:34:44 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#328