fix(backend): missing return

This commit is contained in:
Sam 2023-03-13 01:31:12 +01:00
parent 51aacf861e
commit e36bd247f5
No known key found for this signature in database
GPG Key ID: B4EF20DDE721CAA1
1 changed files with 1 additions and 0 deletions

View File

@ -73,6 +73,7 @@ func (l *Limiter) handle(next http.Handler) http.Handler {
if err == nil && ip == l.frontendIP { if err == nil && ip == l.frontendIP {
// frontend gets to bypass ratelimit // frontend gets to bypass ratelimit
next.ServeHTTP(w, r) next.ServeHTTP(w, r)
return
} }
} }