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:
parent
9d15a05ac0
commit
1a7f5e9fb5
1 changed files with 1 additions and 0 deletions
|
@ -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`,
|
||||||
|
|
Loading…
Reference in a new issue