mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-11 00:05:36 +02:00
🐛 fix: Remove cross-origin isolation
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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={{
|
||||
|
||||
Reference in New Issue
Block a user