From 10a190cd805ca9d66edff82d599f948fe48c0884 Mon Sep 17 00:00:00 2001 From: Tom Moor Date: Sun, 3 Sep 2023 17:23:08 -0400 Subject: [PATCH] fix: Add support for main and old tldraw domains closes #5769 --- shared/editor/embeds/Tldraw.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/editor/embeds/Tldraw.tsx b/shared/editor/embeds/Tldraw.tsx index ef1164200..89917d593 100644 --- a/shared/editor/embeds/Tldraw.tsx +++ b/shared/editor/embeds/Tldraw.tsx @@ -14,6 +14,6 @@ function Tldraw(props: Props) { ); } -Tldraw.ENABLED = [new RegExp("^https?://beta\\.tldraw\\.com/r/(.*)")]; +Tldraw.ENABLED = [new RegExp("^https?://(beta|www|old)\\.tldraw\\.com/r/(.*)")]; export default Tldraw;