Skip to content

Commit 132bc44

Browse files
committed
refactor: remove unnecessary return
1 parent 3645bd7 commit 132bc44

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

internal/web/server.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,6 @@ func IPWhitelist(whitelist []string) func(next http.Handler) http.Handler {
9999

100100
log.Printf("IP %s not in whitelist, rejecting request\n", r.RemoteAddr)
101101
http.Error(w, "Forbidden", http.StatusForbidden)
102-
return
103102
})
104103
}
105104
}

0 commit comments

Comments
 (0)