diff options
author | Guo Y.K <hi@guoyk.net> | 2022-05-19 23:20:34 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-19 11:20:34 -0400 |
commit | 3e5ea9a9788b4c908a85b7ccc532e559ab8610a0 (patch) | |
tree | 4eeb91cf9ac3efa3faae0c0dbe3ea71cc0972460 /web_src/js/features/comp | |
parent | c27268db21427fcf6f8d90cce8713febdb6f4719 (diff) | |
download | gitea-3e5ea9a9788b4c908a85b7ccc532e559ab8610a0.tar.gz gitea-3e5ea9a9788b4c908a85b7ccc532e559ab8610a0.zip |
Update base.go (#19739)
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>
Diffstat (limited to 'web_src/js/features/comp')
0 files changed, 0 insertions, 0 deletions