fix #1119 and data race in timming tasks
This commit is contained in:
parent
9bcc3c1ea3
commit
3d14e73fd8
3 changed files with 75 additions and 16 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue