Git Repository link always shows, defaulting to the canonical upstream repo

Previously hidden entirely when NEXT_PUBLIC_GIT_REPO_URL was unset, which
meant it never appeared on localhost or on anyone else's clone that hadn't
explicitly configured it. It should always point somewhere - the canonical
repo (git.ciagent.org) is the sensible default everywhere, overridable only
by a deployment that runs its own separate git server.

Co-Authored-By: Claude Sonnet 5 <[email protected]>
This commit is contained in:
2026-08-05 20:56:48 -04:00
co-authored by Claude Sonnet 5
parent 3e1fa1845b
commit 4867793b66
4 changed files with 34 additions and 23 deletions
+3 -2
View File
@@ -97,8 +97,9 @@ services:
# (not the container) can reach, so a LAN client needs this set to
# the host machine's LAN IP, not localhost. See .env.example.
NEXT_PUBLIC_API_URL: ${NEXT_PUBLIC_API_URL:-http://localhost:8000}
# "Git Repository" landing-page link - blank by default so it's
# hidden unless you actually run a git server for this deployment.
# "Git Repository" landing-page link - blank here so the frontend
# falls back to its own hardcoded default (the canonical upstream
# repo). Only set this to point the button at a different git server.
NEXT_PUBLIC_GIT_REPO_URL: ${NEXT_PUBLIC_GIT_REPO_URL:-}
ports:
- "3000:3000"