Skip to content

Commit 3a4fc20

Browse files
authored
csp: add clerk for new domains, pt 2 (tldraw#4658)
### Change type - [ ] `bugfix` - [ ] `improvement` - [ ] `feature` - [ ] `api` - [x] `other`
1 parent f060f35 commit 3a4fc20

File tree

1 file changed

+2
-0
lines changed
  • apps/dotcom/client/src/utils

1 file changed

+2
-0
lines changed

apps/dotcom/client/src/utils/csp.ts

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ export const cspDirectives: { [key: string]: string[] } = {
1313
// for thumbnail server
1414
'http://localhost:5002',
1515
'https://*.clerk.accounts.dev',
16+
'https://clerk.tldraw.com',
17+
'https://clerk.staging.tldraw.com',
1618
],
1719
'font-src': [`'self'`, `https://fonts.googleapis.com`, `https://fonts.gstatic.com`, 'data:'],
1820
'frame-src': [`https:`],

0 commit comments

Comments
 (0)