mirror of
https://codeberg.org/pronounscc/pronouns.cc.git
synced 2024-11-20 10:09:52 +01:00
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