I can do this more with a route, but I want to do something like:
app.redirect(url);
and not:
app.get('/', function(req, res) {
res.redirect(url);
});
Can anyone help me? vlw, and obgd!
I can do this more with a route, but I want to do something like:
app.redirect(url);
and not:
app.get('/', function(req, res) {
res.redirect(url);
});
Can anyone help me? vlw, and obgd!