Skip to content

Commit

Permalink
Fix index
Browse files Browse the repository at this point in the history
  • Loading branch information
cultpodcasts committed Mar 29, 2024
1 parent 793993c commit 56a60fc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ export default {
const object = await env.Content.get("leeches");

if (object != null) {
var leaches: string[] = await object.json();
var leeches: string[] = await object.json();

if (leaches.indexOf(ipAddress) > 0) {
if (leeches.indexOf(ipAddress) >= 0) {
isLeech = true;
}
}
Expand Down

0 comments on commit 56a60fc

Please sign in to comment.