Skip to content

Commit

Permalink
Add data: to media-src
Browse files Browse the repository at this point in the history
  • Loading branch information
yshterev committed May 20, 2024
1 parent 400cd5d commit 0b32fda
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ const defaultCSP = {
],
'media-src': [
"'self'",
"data:",
"blob:",
"*.{{base_domain}}",
"*.amazonaws.com",
Expand Down
2 changes: 1 addition & 1 deletion index.mock.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const defaultCSP = {
"licensing.theoplayer.com",
],
'media-src': [
"'self' blob:",
"'self' data: blob:",
"*.{{base_domain}}",
"*.s3-accelerate.amazonaws.com *.s3.amazonaws.com",
],
Expand Down

0 comments on commit 0b32fda

Please sign in to comment.