Skip to content

Commit

Permalink
Update Image.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jilt authored Nov 30, 2023
1 parent 07b17ca commit e5afbfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Image.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ useEffect(() => {

return (
<Card.Img variant="top" src={ props.media.includes("cloudflare") ?
mediaResult + props.media.split('/').slice(4, 6) : props.media } />
mediaResult + props.media.split('/').slice(4, 6).join('/') : props.media } />
)
}

0 comments on commit e5afbfd

Please sign in to comment.