mirror of
				https://github.com/go-gitea/gitea
				synced 2025-11-03 21:08:25 +00:00 
			
		
		
		
	Merge branch 'main' into feature/bots
This commit is contained in:
		@@ -642,7 +642,7 @@ func RegisterRoutes(m *web.Route) {
 | 
				
			|||||||
			http.ServeFile(ctx.Resp, ctx.Req, path.Join(setting.StaticRootPath, "public/img/favicon.png"))
 | 
								http.ServeFile(ctx.Resp, ctx.Req, path.Join(setting.StaticRootPath, "public/img/favicon.png"))
 | 
				
			||||||
		})
 | 
							})
 | 
				
			||||||
		m.Group("/{username}", func() {
 | 
							m.Group("/{username}", func() {
 | 
				
			||||||
			m.Get(".png", func(ctx *context.Context) { ctx.Error(http.StatusNotFound) })
 | 
								m.Get(".png", user.AvatarByUserName)
 | 
				
			||||||
			m.Get(".keys", user.ShowSSHKeys)
 | 
								m.Get(".keys", user.ShowSSHKeys)
 | 
				
			||||||
			m.Get(".gpg", user.ShowGPGKeys)
 | 
								m.Get(".gpg", user.ShowGPGKeys)
 | 
				
			||||||
			m.Get(".rss", feedEnabled, feed.ShowUserFeedRSS)
 | 
								m.Get(".rss", feedEnabled, feed.ShowUserFeedRSS)
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user