Skip to content

Commit

Permalink
Remove dbg logs
Browse files Browse the repository at this point in the history
  • Loading branch information
ChillerDragon committed Jan 8, 2024
1 parent 5df6af8 commit b5a43e9
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions chillerbot-api-srv.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@ cron.schedule('0 * * * *', () => {

const getIpAddr = (req) => {
const forwarded = req.headers['x-forwarded-for']
console.log(forwarded)
console.log(typeof forwarded)
if (typeof forwarded === 'object') {
return forwarded.pop()
} else if (typeof forwarded === 'string') {
Expand Down

0 comments on commit b5a43e9

Please sign in to comment.