I'm trying to use const info = getConnInfo(c)
To get the ip adress of the user for ratelimiting, but when I do console.log(info) I get this wrong ip:
{
remote: { address: '::ffff:172.18.0.1', port: 56124, addressType: 'IPv6' }
}
What could be the cause and how would I fix that?
Thanks in advance