mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Gravatar fallback does not respect 'AppSubUrl'-setting (#12149)
Closes #12148
This commit is contained in:
@@ -52,7 +52,7 @@ type UserStars struct {
|
|||||||
|
|
||||||
func GetGravatarUrl(text string) string {
|
func GetGravatarUrl(text string) string {
|
||||||
if setting.DisableGravatar {
|
if setting.DisableGravatar {
|
||||||
return "/public/img/user_profile.png"
|
return setting.AppSubUrl + "/public/img/user_profile.png"
|
||||||
}
|
}
|
||||||
|
|
||||||
if text == "" {
|
if text == "" {
|
||||||
|
|||||||
Reference in New Issue
Block a user