Skip to content

Commit 2779176

Browse files
yp05327lunny
authored andcommitted
1 parent 27879bc commit 2779176

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

routers/web/repo/http.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ func httpBase(ctx *context.Context) (h *serviceHandler) {
228228
}
229229

230230
if !p.CanAccess(accessMode, unitType) {
231-
ctx.PlainText(http.StatusForbidden, "User permission denied")
231+
ctx.PlainText(http.StatusNotFound, "Repository not found")
232232
return
233233
}
234234
}

0 commit comments

Comments
 (0)