From 36402b4d5838792e1dd857d11b4dd000f3d31996 Mon Sep 17 00:00:00 2001 From: Jean Brito Date: Tue, 22 Aug 2023 14:34:36 -0300 Subject: [PATCH] change favicon crossOrigin to anonymous --- src/servers/preload/favicon.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/servers/preload/favicon.ts b/src/servers/preload/favicon.ts index 4d28f3708a..fea1b109fd 100644 --- a/src/servers/preload/favicon.ts +++ b/src/servers/preload/favicon.ts @@ -33,6 +33,8 @@ const getImageElement = (): HTMLImageElement => { }); }; + imageElement.crossOrigin = 'anonymous'; + imageElement.addEventListener('load', handleImageLoadEvent, { passive: true, });