diff --git a/web/src/flow/FlowExecutor.ts b/web/src/flow/FlowExecutor.ts index ebe4820fca..aeca334b0d 100644 --- a/web/src/flow/FlowExecutor.ts +++ b/web/src/flow/FlowExecutor.ts @@ -182,7 +182,7 @@ export class FlowExecutor const next = qs.get("next"); if (next) { const url = new URL(next, window.location.origin); - if (url.origin !== window.location.origin) { + if (!url.pathname.startsWith(`${globalAK().api.relBase}if/flow`)) { multiTabOrchestrateLeave(); } window.location.assign(url);