mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-03 02:21:17 +02:00
fix #1119 and data race in timming tasks
This commit is contained in:
1 parent
9bcc3c1ea3
commit
3d14e73fd8
3 files changed
+75
-16
No files matched your search
@@ -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