Skip to content

Commit

Permalink
Add crossorigin property in img
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallku committed Feb 19, 2024
1 parent cb05329 commit 41242bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/blog/src/components/PostImage/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ function PostImage({ src, title, alt, width, height, ...rest }: ImgHTMLAttribute
width={width}
height={height}
loading="lazy"
crossOrigin="anonymous"
{...rest}
/>
</picture>
Expand Down

0 comments on commit 41242bc

Please sign in to comment.