mirror of
https://github.com/go-gitea/gitea.git
synced 2025-02-21 13:23:24 +08:00

Backport #27486 by @lunny Fix #27204 This PR allows `/<username>/<reponame>/attachments/<uuid>` access with personal access token and also changed attachments API download url to it so it can be download correctly. Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>