fix: add missing size parameter in comment gravatar URL (#1477)

pull/1479/head
Menci‮ 2021-09-14 14:12:59 +08:00 committed by GitHub
parent 75c8bb22ee
commit ca8bfd9eea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -770,6 +770,6 @@ public abstract class BaseCommentServiceImpl<COMMENT extends BaseComment>
final String gravatarDefault =
optionService.getByPropertyOrDefault(CommentProperties.GRAVATAR_DEFAULT, String.class);
return gravatarSource + gravatarMd5 + "?d=" + gravatarDefault;
return gravatarSource + gravatarMd5 + "?s=256&d=" + gravatarDefault;
}
}