Skip to content

Commit b0e6b8e

Browse files
committed
Use StatusNotFound instead of StatusForbidden.
1 parent 1443a2c commit b0e6b8e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/routes/web.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ func RegisterRoutes(m *web.Route) {
288288

289289
lfsServerEnabled := func(ctx *context.Context) {
290290
if !setting.LFS.StartServer {
291-
ctx.Error(http.StatusForbidden)
291+
ctx.Error(http.StatusNotFound)
292292
return
293293
}
294294
}

0 commit comments

Comments
 (0)