tldraw/apps/dotcom-worker/src/lib
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
..
routes Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
utils unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
AlarmScheduler.test.ts Unbiome (#2776) 2024-02-07 16:02:22 +00:00
AlarmScheduler.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
config.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
r2.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
TLDrawDurableObject.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
types.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
worker.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00