Skip to content

Commit

Permalink
redeploy (#125)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikkaroraa authored Feb 21, 2024
1 parent dcb6bb0 commit 12bd60a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions server/middlewares/restrict-access.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ export const restrictAccessMiddleware: Middleware = async (request, response, ne
const refererHeader = request.headers['referer']
const referer = refererHeader ? new URL(refererHeader).hostname : ''

console.log({ referer })

// check if api request is from the squeethportal site
// if yes, we allow the request without any restrictions
// this is done as a preventive measure so as to not hit the request limit of redis
Expand Down

0 comments on commit 12bd60a

Please sign in to comment.