We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dee80c1 + 78ba7f3 commit f074a7dCopy full SHA for f074a7d
internals/proxy/middlewares/endpoints.go
@@ -21,7 +21,7 @@ func (data EndpointsMiddleware) Use() http.Handler {
21
22
if slices.Contains(BLOCKED_ENDPOINTS, reqPath) {
23
log.Warn("User tried to access blocked endpoint: ", reqPath)
24
- http.Error(w, "Unauthorized", http.StatusUnauthorized)
+ http.Error(w, "Forbidden", http.StatusForbidden)
25
return
26
}
27
0 commit comments