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:
+5
-3
@@ -16,9 +16,11 @@ BACKEND_URL=http://localhost:8000
|
||||
# so for LAN access this must be the host's LAN IP, not localhost (e.g.
|
||||
# http://192.168.1.190:8000). Leave unset for localhost-only access.
|
||||
NEXT_PUBLIC_API_URL=http://localhost:8000
|
||||
# "Git Repository" link on the landing page header, next to Sign in - only
|
||||
# rendered when this is set (e.g. https://git.ciagent.org/you/ci-agent).
|
||||
# Leave blank if you don't run a public git server for this deployment.
|
||||
# "Git Repository" link on the landing page header, next to Sign in.
|
||||
# Defaults to the canonical upstream repo (git.ciagent.org) when unset - the
|
||||
# button always shows, even on a clone that hasn't set this at all. Only set
|
||||
# this if you run your own self-hosted git server and want the button to
|
||||
# point at your fork instead of upstream.
|
||||
NEXT_PUBLIC_GIT_REPO_URL=
|
||||
|
||||
# --- Reverse proxy (only relevant once deployed behind Cloudflare/Nginx) -----
|
||||
|
||||
Reference in New Issue
Block a user