Add configurable internal API URL
This commit is contained in:
1 parent
fa182d0947
commit
2fd319f910
6 files changed
+124
-4
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user