touchscreen: allow meet.google.com origin (#3805)
need to allow the origin for the new room creation ### Change Type <!-- ❗ Please select a 'Scope' label ❗️ --> - [x] `sdk` — Changes the tldraw SDK - [ ] `dotcom` — Changes the tldraw.com web app - [ ] `docs` — Changes to the documentation, examples, or templates. - [ ] `vs code` — Changes to the vscode plugin - [ ] `internal` — Does not affect user-facing stuff <!-- ❗ Please select a 'Type' label ❗️ --> - [x] `bugfix` — Bug fix - [ ] `feature` — New feature - [ ] `improvement` — Improving existing features - [ ] `chore` — Updating dependencies, other boring stuff - [ ] `galaxy brain` — Architectural changes - [ ] `tests` — Changes to any test code - [ ] `tools` — Changes to infrastructure, CI, internal scripts, debugging tools, etc. - [ ] `dunno` — I don't know
This commit is contained in:
parent
ed33e6ab4d
commit
b32082a2b4
1 changed files with 1 additions and 0 deletions
|
@ -90,6 +90,7 @@ export function isAllowedOrigin(origin: string) {
|
|||
if (env.IS_LOCAL === 'true') return true
|
||||
if (origin === 'http://localhost:3000') return true
|
||||
if (origin === 'http://localhost:5420') return true
|
||||
if (origin === 'https://meet.google.com') return true
|
||||
if (origin.endsWith('.tldraw.com')) return true
|
||||
if (origin.endsWith('-tldraw.vercel.app')) return true
|
||||
return false
|
||||
|
|
Loading…
Reference in a new issue