Răsfoiți Sursa

Remove unneeded logging

Connor Prussin 7 luni în urmă
părinte
comite
77f4ddc0bc
1 a modificat fișierele cu 0 adăugiri și 4 ștergeri
  1. 0 4
      apps/staking/src/middleware.ts

+ 0 - 4
apps/staking/src/middleware.ts

@@ -27,10 +27,6 @@ const proxyCheckClient = PROXYCHECK_API_KEY
   : undefined;
 
 export const middleware = async (request: NextRequest) => {
-  // eslint-disable-next-line no-console
-  console.log("IP Allowlist:", IP_ALLOWLIST);
-  // eslint-disable-next-line no-console
-  console.log("Are they allowed?", isIpAllowlisted("163.116.252.75"));
   const ip = ipAddress(request);
   if (isIpAllowlisted(ip)) {
     return isBlockedSegment(request)