mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-26 12:27:06 +00:00 
			
		
		
		
	Add SubURL to redirect path (#8632)
Signed-off-by: jolheiser <john.olheiser@gmail.com>
This commit is contained in:
		| @@ -236,7 +236,7 @@ func RedirectToRepo(ctx *Context, redirectRepoID int64) { | |||||||
| 	if ctx.Req.URL.RawQuery != "" { | 	if ctx.Req.URL.RawQuery != "" { | ||||||
| 		redirectPath += "?" + ctx.Req.URL.RawQuery | 		redirectPath += "?" + ctx.Req.URL.RawQuery | ||||||
| 	} | 	} | ||||||
| 	ctx.Redirect(redirectPath) | 	ctx.Redirect(path.Join(setting.AppSubURL, redirectPath)) | ||||||
| } | } | ||||||
|  |  | ||||||
| func repoAssignment(ctx *Context, repo *models.Repository) { | func repoAssignment(ctx *Context, repo *models.Repository) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 John Olheiser
					John Olheiser