req.url
var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
oubaydos
var fullUrl = req.protocol + '://' + req.get('host') + req.originalUrl;
res.redirect('/foo/bar')
res.redirect('http://example.com')
res.redirect(301, 'http://example.com')
res.redirect('../login')