tldraw/apps/dotcom-worker/src/lib/routes
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
..
createRoom.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
createRoomSnapshot.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
forwardRoomRequest.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
getRoomHistory.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
getRoomHistorySnapshot.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00
getRoomSnapshot.ts Prevent iframe embedding for dotcom (except on tldraw.com) (#2947) 2024-02-26 18:30:55 +00:00
joinExistingRoom.ts unbrivate, dot com in (#2475) 2024-01-16 14:38:05 +00:00