Add configurable internal API URL

This commit is contained in:
Mike Cao committed 2026-05-09 01:06:52 -07:00
1 parent fa182d0947
commit 2fd319f910
6 files changed
+124 -4

No files matched your search

+4
View File
@@ -46,6 +46,10 @@ Create an `.env` file with the following:
DATABASE_URL=connection-url
```
Optional: set `API_URL` to change the base URL used by internal UI API calls.
Relative paths are served under `BASE_PATH`; absolute URLs are called directly by the browser.
For example, `API_URL=/internal-api` or `API_URL=https://api.example.com/api`.
The connection URL format:
```bash