Now all the paths is started with "/" (absolute paths), so it's too hard to make working path prefix like 'git.myhost.com/mirror'.
One solution is adding BASE_URL environment variable for changing app base path.
Alternative solution is to making all URLs relative, like './path'.
Originally created by @morgan55555 on GitHub (Mar 31, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/256
Now all the paths is started with "/" (absolute paths), so it's too hard to make working path prefix like 'git.myhost.com/mirror'.
One solution is adding BASE_URL environment variable for changing app base path.
Alternative solution is to making all URLs relative, like './path'.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @morgan55555 on GitHub (Mar 31, 2026).
Original GitHub issue: https://github.com/RayLabsHQ/gitea-mirror/issues/256
Now all the paths is started with "/" (absolute paths), so it's too hard to make working path prefix like 'git.myhost.com/mirror'.
One solution is adding BASE_URL environment variable for changing app base path.
Alternative solution is to making all URLs relative, like './path'.
@arunavo4 commented on GitHub (Apr 2, 2026):
@morgan55555 give this PR a try
ghcr.io/raylabshq/gitea-mirror:pr-257