mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-04-24 23:05:53 +03:00
[PR #183] [MERGED] Add optional external Gitea URL for UI links #173
Labels
No labels
bug
documentation
enhancement
help wanted
pull-request
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/gitea-mirror#173
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/RayLabsHQ/gitea-mirror/pull/183
Author: @arunavo4
Created: 2/24/2026
Status: ✅ Merged
Merged: 2/24/2026
Merged by: @arunavo4
Base:
main← Head:codex/issue-154-external-gitea-url📝 Commits (1)
ef13fefAdd optional external Gitea URL for UI links📊 Changes
11 files changed (+45 additions, -8 deletions)
View changed files
📝
.env.example(+1 -0)📝
docs/ENVIRONMENT_VARIABLES.md(+1 -0)📝
src/components/config/ConfigTabs.tsx(+1 -0)📝
src/components/config/GiteaConfigForm.tsx(+21 -0)📝
src/components/dashboard/RepositoryList.tsx(+5 -4)📝
src/components/organizations/OrganizationsList.tsx(+5 -4)📝
src/lib/db/schema.ts(+1 -0)📝
src/lib/env-config-loader.ts(+3 -0)📝
src/lib/utils/config-defaults.ts(+4 -0)📝
src/lib/utils/config-mapper.ts(+2 -0)📝
src/types/config.ts(+1 -0)📄 Description
Summary
externalUrlin Gitea config for browser-facing linksGITEA_URL(no behavior change to sync path)externalUrl(fallback tourl) when generating Gitea links in repository and organization viewsGITEA_EXTERNAL_URL.env.exampleand environment docsWhy
Fixes #154. This supports setups where Gitea Mirror can reach Gitea via an internal Docker/network URL, while users need clickable UI links to a different external/reverse-proxy URL.
Validation
bun run buildFixes #154
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.