csp: enable image upload for dev mode (#4199)

csp fix for dev image server

### Change type

- [x] `bugfix`
- [ ] `improvement`
- [ ] `feature`
- [ ] `api`
- [ ] `other`
This commit is contained in:
Mime Čuvalo 2024-07-16 16:56:18 +01:00 committed by GitHub
parent 9d15a05ac0
commit 1a7f5e9fb5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,6 +5,7 @@ export const cspDirectives: { [key: string]: string[] } = {
`ws:`, `ws:`,
`wss:`, `wss:`,
'blob:', 'blob:',
'http://localhost:8788',
`https://assets.tldraw.xyz`, `https://assets.tldraw.xyz`,
`https://*.tldraw.workers.dev`, `https://*.tldraw.workers.dev`,
`https://*.ingest.sentry.io`, `https://*.ingest.sentry.io`,