fix(backend): missing return
This commit is contained in:
parent
51aacf861e
commit
e36bd247f5
|
@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue