We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c453c84 commit 133cc7fCopy full SHA for 133cc7f
apps/staking/src/middleware.ts
@@ -27,6 +27,10 @@ const proxyCheckClient = PROXYCHECK_API_KEY
27
: undefined;
28
29
export const middleware = async (request: NextRequest) => {
30
+ // eslint-disable-next-line no-console
31
+ console.log("IP Allowlist:", IP_ALLOWLIST);
32
33
+ console.log("Are they allowed?", isIpAllowlisted("163.116.252.75"));
34
const ip = ipAddress(request);
35
if (isIpAllowlisted(ip)) {
36
return isBlockedSegment(request)
0 commit comments