mirror of
https://github.com/RayLabsHQ/gitea-mirror.git
synced 2026-05-23 08:01:19 -05:00
[GH-ISSUE #269] Support for non-github.com domains #982
Reference in New Issue
Block a user
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?
Originally created by @yeahitsjan on GitHub (Apr 15, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/269
Originally assigned to: @arunavo4 on GitHub.
Hi! This tool looks promising. Currently having access to a Github Enterprise Cloud instance I would like to ask if its possible to also connect to those and mirror them accordingly? Theoretically the REST API or OctoKit should be compatible with it.
Many thanks!
Jan
@yeahitsjan commented on GitHub (Apr 15, 2026):
As I can see, it seems that
GH_API_URLcan be set as it is loaded from environment variables. Is that true?8fac30fc02/src/lib/github.ts (L43)@arunavo4 commented on GitHub (Apr 16, 2026):
Yes @yeahitsjan set
GH_API_URLto your Enterprise API endpoint (e.g.https://HOSTNAME/api/v3for GHE Server, orhttps://api.<tenant>.ghe.comfor GHEC with data residency) and it'll route Octokit there. Standard GHEC on github.com already works out of the box.