mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	#1593 fix repo name router bug
This commit is contained in:
		@@ -545,7 +545,7 @@ func runWeb(ctx *cli.Context) {
 | 
			
		||||
	m.Group("/:username", func() {
 | 
			
		||||
		m.Group("/:reponame", func() {
 | 
			
		||||
			m.Get("", repo.Home)
 | 
			
		||||
			m.Get(".git", repo.Home)
 | 
			
		||||
			m.Get("\\.git", repo.Home)
 | 
			
		||||
		}, ignSignIn, middleware.RepoAssignment(true, true), middleware.RepoRef())
 | 
			
		||||
 | 
			
		||||
		m.Group("/:reponame", func() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user