mirror of https://github.com/halo-dev/halo
fix: add missing size parameter in comment gravatar URL (#1477)
parent
75c8bb22ee
commit
ca8bfd9eea
|
@ -770,6 +770,6 @@ public abstract class BaseCommentServiceImpl<COMMENT extends BaseComment>
|
||||||
final String gravatarDefault =
|
final String gravatarDefault =
|
||||||
optionService.getByPropertyOrDefault(CommentProperties.GRAVATAR_DEFAULT, String.class);
|
optionService.getByPropertyOrDefault(CommentProperties.GRAVATAR_DEFAULT, String.class);
|
||||||
|
|
||||||
return gravatarSource + gravatarMd5 + "?d=" + gravatarDefault;
|
return gravatarSource + gravatarMd5 + "?s=256&d=" + gravatarDefault;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue