mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-22 17:12:15 +08:00

Parse base path and tree path so that media links can be correctly created with /media/. Resolves #31294 --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>