Tldraw/scripts
Steve Ruiz 6d417577be
Prevent iframe embedding for dotcom (except on tldraw.com) (#2947)
This PR fixes a check on whether the dot com multiplayer editor has been
loaded in an iframe.

It tries to keep it working on tldraw.com itself.

### Change Type

- [x] `patch` — Bug fix

### Test Plan

1. Load me in an iframe
2024-02-26 18:30:55 +00:00
..
lib Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
vercel [Internal] Create build-docs.sh (#2569) 2024-01-21 14:47:17 +00:00
CHANGELOG.md transfer-out: transfer out 2023-04-25 12:01:25 +01:00
api-check.ts Incorporate signia as @tldraw/state (#1620) 2023-06-20 13:31:26 +00:00
build-api.ts Composable custom UI (#2796) 2024-02-15 12:10:09 +00:00
build-package.ts [chore] update lazyrepo (#1211) 2023-05-02 12:25:26 +00:00
check-scripts.ts dev: swap yarn test and test-dev for better dx (#2773) 2024-02-14 16:05:59 +00:00
check-tsconfigs.ts Check tsconfig "references" arrays (#2891) 2024-02-21 13:07:53 +00:00
clean.sh Fix yarn clean (#2620) 2024-01-24 16:36:24 +00:00
deploy.ts Introduce a Cloudflare health worker (#2499) 2024-01-29 09:47:50 +00:00
lint.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
package.json Update auto (#2952) 2024-02-26 10:06:23 +00:00
postpack.sh transfer-out: transfer out 2023-04-25 12:01:25 +01:00
prepack.ts avoid lazy race conditions (#1364) 2023-05-12 15:41:40 +00:00
prune-preview-deploys.ts fix prune preview deployment script (#2698) 2024-01-31 16:37:51 +00:00
publish-canary.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
publish-manual.ts Fix publishing (#1338) 2023-05-09 13:25:56 +00:00
publish-new.ts Update auto (#2952) 2024-02-26 10:06:23 +00:00
purge-css.ts [tweak] dark mode colors (#2469) 2024-01-14 16:27:16 +00:00
refresh-assets.ts Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
tsconfig.json transfer-out: transfer out 2023-04-25 12:01:25 +01:00
typecheck.ts replace console.log with nicelog (#1496) 2023-06-01 18:01:49 +00:00