mirror of
https://gitee.com/gitea/gitea
synced 2025-11-29 21:00:28 +08:00
fix #1119 and data race in timming tasks
This commit is contained in:
@@ -319,6 +319,9 @@ func Profile(ctx *middleware.Context) {
|
||||
if uname == "favicon.ico" {
|
||||
ctx.Redirect(setting.AppSubUrl + "/img/favicon.png")
|
||||
return
|
||||
} else if strings.HasSuffix(uname, ".png") {
|
||||
ctx.Error(404)
|
||||
return
|
||||
}
|
||||
|
||||
isShowKeys := false
|
||||
|
||||
Reference in New Issue
Block a user