I trying to get current web address using sails.js.
I tried the following:
req.param(\'host\') and req.param(\'X-Forwarded-Protocol\')
req.host should contain the host value.