Skip to content

Commit 77f4ddc

Browse files
committed
Remove unneeded logging
1 parent 501b04f commit 77f4ddc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

apps/staking/src/middleware.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,6 @@ const proxyCheckClient = PROXYCHECK_API_KEY
2727
: undefined;
2828

2929
export const middleware = async (request: NextRequest) => {
30-
// eslint-disable-next-line no-console
31-
console.log("IP Allowlist:", IP_ALLOWLIST);
32-
// eslint-disable-next-line no-console
33-
console.log("Are they allowed?", isIpAllowlisted("163.116.252.75"));
3430
const ip = ipAddress(request);
3531
if (isIpAllowlisted(ip)) {
3632
return isBlockedSegment(request)

0 commit comments

Comments
 (0)