Express Zdobądź pełny adres URL
var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
Doubtful Dog
var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
const hostWithProtocol = req.protocol + '://' + req.get('host')