We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dbd2d9 commit d42b52fCopy full SHA for d42b52f
routers/web/web.go
@@ -634,7 +634,7 @@ func RegisterRoutes(m *web.Route) {
634
http.ServeFile(ctx.Resp, ctx.Req, path.Join(setting.StaticRootPath, "public/img/favicon.png"))
635
})
636
m.Group("/{username}", func() {
637
- m.Get(".png", func(ctx *context.Context) { ctx.Error(http.StatusNotFound) })
+ m.Get(".png", user.AvatarByUserName)
638
m.Get(".keys", user.ShowSSHKeys)
639
m.Get(".gpg", user.ShowGPGKeys)
640
m.Get(".rss", feedEnabled, feed.ShowUserFeedRSS)
0 commit comments