index
:
gogs.git
Gogs is a painless self-hosted Git service
log msg
author
committer
range
buildscript
main
mygogs
about
summary
refs
log
tree
commit
diff
path:
root
/
modules
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
(limited to 'modules')
-rw-r--r--
modules/base/tool.go
2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/tool.go b/modules/base/tool.go
index 082c0392..9b165b97 100644
--- a/
modules/base/tool.go
+++ b/
modules/base/tool.go
@@ -143,7 +143,7 @@ func AvatarLink(email string) string {
if Service.EnableCacheAvatar {
return "/avatar/" + EncodeMd5(email)
}
- return "http://1.gravatar.com/avatar/" + EncodeMd5(email)
+ return "//1.gravatar.com/avatar/" + EncodeMd5(email)
}
// Seconds-based time units