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
author
shengxiang[skyblue] <ssx205@gmail.com>
2014-04-15 10:16:55 +0800
committer
shengxiang[skyblue] <ssx205@gmail.com>
2014-04-15 10:16:55 +0800
commit
df0c61cc628c90000c7f481a7ec62dae9bbdfc4e
(
patch
)
tree
bccf9b9de40642dec4ee439844422f863e86e4e5
/
modules
parent
d9f2878db4785b2d1c46ac25c547395c57338817
(
diff
)
parent
b9a1d13c29c3a1dcebc5b34914a29efbafd374f5
(
diff
)
Merge pull request #78 from compressed/master
change gravatar image to match URL scheme
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