request-ip
request-ip copied to clipboard
Fixed for Fastify req.connection deprecation
In Fastify, req.connection has been Deprecated in favor of req.socket. This affects all recent Fastify installs. The fix made so that nothing breaks but Fastify can pick its preferred req.socket
option first without throwing any warnings at the developer.
@pbojinov can we expect this PR merged anytime soon?
Fixes #86 @pbojinov