feat: add support for tldraw snapshot links (#6210)

This commit is contained in:
Pranav Joglekar
2023-11-28 18:52:42 +05:30
committed by GitHub
parent 654e4c9ce6
commit a4341b0d89
2 changed files with 20 additions and 1 deletions

View File

@@ -14,6 +14,8 @@ function Tldraw(props: Props) {
);
}
Tldraw.ENABLED = [new RegExp("^https?://(beta|www|old)\\.tldraw\\.com/r/(.*)")];
Tldraw.ENABLED = [
new RegExp("^https?://(beta|www|old)\\.tldraw\\.com/[rsv]/(.*)"),
];
export default Tldraw;