function redirect() { window.location.href = window.location.origin + '/redirect'; }