Skip to content

Commit 9d0045c

Browse files
kennsippellgarethbowen
authored andcommitted
Update CSP to allow images sourced from blobs
1 parent f06c5e6 commit 9d0045c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

api/src/routing.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ app.use(
126126
formAction: [`'self'`],
127127
imgSrc: [
128128
`'self'`,
129-
'data:' // unsafe
129+
'data:', // unsafe
130+
'blob:',
130131
],
131132
mediaSrc: [`'self'`],
132133
scriptSrc: [

0 commit comments

Comments
 (0)