mirror of
https://github.com/go-gitea/gitea
synced 2025-01-22 06:27:52 +01:00
3e5ea9a978
use http.StatusTemporaryRedirect(307) when serve avatar directly browser caches 301 redirections, pre-signed s3 url would expire at some later point Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com> Co-authored-by: techknowlogick <techknowlogick@gitea.io>