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 fullUrl = `${req.protocol}://${req.get("host")}${req.originalUrl}`;