forked from mirrors/pronouns.cc
fix(backend): missing return
This commit is contained in:
parent
51aacf861e
commit
e36bd247f5
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ func (l *Limiter) handle(next http.Handler) http.Handler {
|
|||
if err == nil && ip == l.frontendIP {
|
||||
// frontend gets to bypass ratelimit
|
||||
next.ServeHTTP(w, r)
|
||||
return
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue