SyntaxFix
Write A Post
Hire A Developer
Questions
In another way you can use window.location.href="your URL"
window.location.href="your URL"
e.g.:
res.send('<script>window.location.href="your URL";</script>');
or:
return res.redirect("your url");