I'm trying to redirect the page to Google
's home page when user's logout.
For that, I'm using the following function:
$(window.location)[0].replace(this.urlLogout);
But instead of being redirected to Google
, I'm getting this route in the URL
browser:
http://localhost:4200/www.google.com.br
Does anyone knows how to fix this problem?