mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-24 07:28:40 +08:00

Backport #27958 by @yp05327 Mentioned in: https://github.com/go-gitea/gitea/pull/27931#issuecomment-1798016960 Same to #25131, so use the same method to fix this problem. Co-authored-by: yp05327 <576951401@qq.com>