The page url is http://example.com/dashboard#/catalog
. When the cookie expires, I do a
res.redirect('/login')
And the resulting url in the browser is http://example.com/login#/catalog
.
How could I redirect without the hash part i.e Make the url to be http://example.com/login
Thanks for your help!!