Closed calzoneman closed 3 years ago
req.ip will be 127.0.0.1 for reverse proxied requests: https://github.com/calzoneman/sync/blob/3.0/src/web/routes/account/delete-account.js#L71
req.ip
127.0.0.1
It should be req.realIP like here: https://github.com/calzoneman/sync/blob/3.0/src/web/account.js#L129-L130
req.realIP
req.ip
will be127.0.0.1
for reverse proxied requests: https://github.com/calzoneman/sync/blob/3.0/src/web/routes/account/delete-account.js#L71It should be
req.realIP
like here: https://github.com/calzoneman/sync/blob/3.0/src/web/account.js#L129-L130