Skip to content

Commit

Permalink
Update CSP to allow images sourced from blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
kennsippell authored and garethbowen committed Mar 19, 2019
1 parent f06c5e6 commit 9d0045c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/routing.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,8 @@ app.use(
formAction: [`'self'`],
imgSrc: [
`'self'`,
'data:' // unsafe
'data:', // unsafe
'blob:',
],
mediaSrc: [`'self'`],
scriptSrc: [
Expand Down

0 comments on commit 9d0045c

Please sign in to comment.