mirror of
https://github.com/go-gitea/gitea
synced 2025-10-30 10:58:27 +00:00
Fix user avatar (#33439)
This commit is contained in:
@@ -734,7 +734,7 @@ func UsernameSubRoute(ctx *context.Context) {
|
||||
switch {
|
||||
case strings.HasSuffix(username, ".png"):
|
||||
if reloadParam(".png") {
|
||||
AvatarByUserName(ctx)
|
||||
AvatarByUsernameSize(ctx)
|
||||
}
|
||||
case strings.HasSuffix(username, ".keys"):
|
||||
if reloadParam(".keys") {
|
||||
|
||||
Reference in New Issue
Block a user