How to get current domain address in sails.js

前端 未结 6 1456
再見小時候
再見小時候 2021-01-18 22:23

I trying to get current web address using sails.js.

I tried the following:

req.param(\'host\') and req.param(\'X-Forwarded-Protocol\') 
6条回答
提交回复
热议问题