express redirect to www code example
Example 1: javascript redirect
window.location.href = "http://mywebsite.com/home.html";
Example 2: express redirect
res.redirect('https://google.com')
window.location.href = "http://mywebsite.com/home.html";
res.redirect('https://google.com')