Skip to content

Commit

Permalink
change favicon crossOrigin to anonymous
Browse files Browse the repository at this point in the history
  • Loading branch information
jeanfbrito committed Aug 22, 2023
1 parent e0a760f commit 36402b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/servers/preload/favicon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ const getImageElement = (): HTMLImageElement => {
});
};

imageElement.crossOrigin = 'anonymous';

imageElement.addEventListener('load', handleImageLoadEvent, {
passive: true,
});
Expand Down

0 comments on commit 36402b4

Please sign in to comment.