1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-06-29 01:45:30 +00:00

Update routers/web/web.go

Co-authored-by: silverwind <me@silverwind.io>
This commit is contained in:
wxiaoguang 2024-06-18 06:38:25 +08:00 committed by GitHub
parent 5ab276106c
commit 3d26c9d50f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -384,7 +384,7 @@ func registerRoutes(m *web.Route) {
return func(ctx *context.Context) {
// only check global disabled units when ignoreGlobal is false
if !ignoreGlobal && unitType.UnitGlobalDisabled() {
ctx.NotFound("Repo unit is is disabled:"+unitType.LogString(), nil)
ctx.NotFound("Repo unit is is disabled: "+unitType.LogString(), nil)
return
}