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'.
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'.
<!-- github-sync-id:4179385159 -->
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.
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'.
@morgan55555 give this PR a try
ghcr.io/raylabshq/gitea-mirror:pr-257