Skip to content

Commit

Permalink
PS-544 force img request to send Origin header to get S3 CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
4rthem committed Nov 20, 2023
1 parent 571264e commit 71bb033
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions databox/client/src/components/Media/Asset/FilePlayer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default function FilePlayer({
maxHeight: maxDimensions.height,
display: 'block',
}}
crossOrigin="anonymous"
src={file.url}
alt={title}
onLoad={onLoad}
Expand Down

0 comments on commit 71bb033

Please sign in to comment.