Skip to content

Commit

Permalink
Clean up logs
Browse files Browse the repository at this point in the history
  • Loading branch information
robin-macpherson committed Sep 12, 2024
1 parent 06b25c8 commit 5fb8306
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/web/resolvers/utils/getPostingIpAddress.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ const isNextRequest = (req: NextRequest | Request): req is NextRequest => {
}

export const getPostingIpAddress = (req: NextRequest | Request) => {
console.log('headers', req?.headers)
console.log('ip', (req as any)?.ip)

if (isNextRequest(req)) return req.ip

const headers =
Expand Down

0 comments on commit 5fb8306

Please sign in to comment.