Przeglądaj źródła

Remove unneeded logging

Connor Prussin 7 miesięcy temu
rodzic
commit
77f4ddc0bc
1 zmienionych plików z 0 dodań i 4 usunięć
  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)