Fix user avatar (#33439)

This commit is contained in:
wxiaoguang
2025-01-30 17:11:13 +08:00
committed by GitHub
parent b6fd8741ee
commit a8eaf43f97
9 changed files with 117 additions and 34 deletions

View File

@@ -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") {