mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-28 13:09:18 +08:00
work on #1558
This commit is contained in:
parent
1abfe4e05f
commit
6ea28f2a47
@ -180,7 +180,7 @@ func (u *User) RelAvatarLink() string {
|
||||
// AvatarLink returns user gravatar link.
|
||||
func (u *User) AvatarLink() string {
|
||||
link := u.RelAvatarLink()
|
||||
if link[0] == '/' {
|
||||
if link[0] == '/' && link[1] != '/' {
|
||||
return setting.AppSubUrl + link
|
||||
}
|
||||
return link
|
||||
|
Loading…
Reference in New Issue
Block a user