🐛 fix: Remove cross-origin isolation

This commit is contained in:
Wanjohi
2024-11-27 11:48:08 +03:00
parent 339779fce1
commit 5eb21eeadb
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ export const Card = component$(({ titleWidth, titleHeight, game, size, ...props
return Promise.all([modalUrl, modalTitleUrl].map(url => {
return new Promise((resolve, reject) => {
const img = new Image();
img.crossOrigin = "anonymous"
// img.crossOrigin = "anonymous"
img.onload = () => resolve(img);
img.onerror = reject;
img.src = url;

View File

@@ -86,7 +86,7 @@ export const BasicImageLoader = component$((props: ImageLoaderProps) => {
draggable={false}
alt={props.alt}
width={props.width}
crossOrigin='anonymous'
// crossOrigin='anonymous'
height={props.height}
ref={imgRef}
class={{