Gravatar fallback does not respect 'AppSubUrl'-setting (#12149)

Closes #12148
pull/12117/head
pari- 7 years ago committed by Torkel Ödegaard
parent b5c53aae97
commit 9680a3d44d
  1. 2
      pkg/api/dtos/models.go

@ -52,7 +52,7 @@ type UserStars struct {
func GetGravatarUrl(text string) string {
if setting.DisableGravatar {
return "/public/img/user_profile.png"
return setting.AppSubUrl + "/public/img/user_profile.png"
}
if text == "" {

Loading…
Cancel
Save