Frontend API URL should auto-detect hostname instead of hardcoding localhost #29

Closed
opened 2026-05-19 14:56:25 -05:00 by null · 0 comments
Owner

Resolved

This was already fixed in the current dev branch:

  1. Port fix: api-base.ts auto-detect now uses 8001 (not 8000)
  2. Default set to auto: Both .env and compose.yml default NEXT_PUBLIC_API_URL=auto
  3. Docs updated: README and .env.example reflect port 8001
  4. Bonus fix: Missing useState import in ForgejoIssuesTable.tsx

Committed as 2de4814 on dev. No Docker rebuild needed — the running container already has these fixes baked in from the last build.

## Resolved This was already fixed in the current `dev` branch: 1. **Port fix:** `api-base.ts` auto-detect now uses `8001` (not `8000`) 2. **Default set to `auto`:** Both `.env` and `compose.yml` default `NEXT_PUBLIC_API_URL=auto` 3. **Docs updated:** README and .env.example reflect port 8001 4. **Bonus fix:** Missing `useState` import in `ForgejoIssuesTable.tsx` Committed as `2de4814` on `dev`. No Docker rebuild needed — the running container already has these fixes baked in from the last build.
null closed this issue 2026-05-19 19:22:31 -05:00
Sign in to join this conversation.
No description provided.