diff --git a/src/aselo-webchat.tsx b/src/aselo-webchat.tsx index 67a4b3d..49b0fa1 100644 --- a/src/aselo-webchat.tsx +++ b/src/aselo-webchat.tsx @@ -207,7 +207,7 @@ export const initWebchat = async () => { FlexWebChat.Actions.addListener('afterRestartEngagement', (payload) => { if (payload.exit) { - setTimeout(() => window.open('https://google.com', '_self'), 1000); + setTimeout(() => window.location.replace('https://google.com'), 1000); } });