leafiy
5/18/2018 - 6:54 PM

none

none

const redirect = (url, asLink = true) =>
asLink ? window.location.href = url : window.location.replace(url);
// redirect('https://google.com')