How can I make sure that the client IP address is forwarded by ngrok?
My test code keeps insisting that all the requests are coming from 127.0.0.1 because of ngrok b
Unfortunately, all header names in Node.JS are lowercase. Use
req.headers['x-forwarded-for']
instead of
req.headers['X-Forwarded-For']