From c675dc02e9c94b38aa178f07c80337faebd49c45 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Wed, 25 Mar 2026 17:03:04 +0900 Subject: [PATCH] fix: Avoid double popups --- src/lib/util/migration/domainMigration.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lib/util/migration/domainMigration.ts b/src/lib/util/migration/domainMigration.ts index ba2a3462..e8ce68ff 100644 --- a/src/lib/util/migration/domainMigration.ts +++ b/src/lib/util/migration/domainMigration.ts @@ -42,7 +42,9 @@ const isReferredFromMermaid = (): boolean => { hostname === 'mermaid.ai' || hostname.endsWith('.mermaid.ai') || hostname === 'mermaid.js.org' || - hostname.endsWith('.mermaid.js.org') + hostname.endsWith('.mermaid.js.org') || + hostname === 'mermaid.live' || + hostname.endsWith('.mermaid.live') ); } catch { return false;