mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-04 01:18:34 +00:00
fix more cors issues
This commit is contained in:
1 parent
0d1bd6b014
commit
e003e94e54
4 files changed
+1
-6
No files matched your search
@@ -80,7 +80,6 @@ function Gravatar(props: Props) {
|
||||
</div>
|
||||
)}
|
||||
<img
|
||||
crossOrigin="anonymous"
|
||||
alt={altText}
|
||||
src={imgUrl}
|
||||
height={props.size}
|
||||
|
||||
@@ -254,8 +254,6 @@ export const LibraryModal = React.memo(
|
||||
onError={() =>
|
||||
handleImageError(item.thumbnail!)
|
||||
}
|
||||
crossOrigin="anonymous"
|
||||
referrerPolicy="no-referrer"
|
||||
/>
|
||||
)}
|
||||
{mode === "select" &&
|
||||
|
||||
+1
-1
@@ -146,7 +146,7 @@ export default function CharacterFrameButton(
|
||||
<>
|
||||
<div className={classes} style={{ minWidth: frameTrackButtonWidthPx, width: frameTrackButtonWidthPx }}>
|
||||
<div className={"rounded-md w-full h-full relative group border-2 border-gray-400"}>
|
||||
<img crossOrigin="anonymous" src={mediaFile} alt={CharacterFrameStrings[target]} className={"rounded-md object-cover w-full h-full"} />
|
||||
<img src={mediaFile} alt={CharacterFrameStrings[target]} className={"rounded-md object-cover w-full h-full"} />
|
||||
<button className={buttonClasses} onClick={handleDeleteFrame}>
|
||||
<FontAwesomeIcon icon={faTrashCan} size={"xs"} className={""} />
|
||||
</button>
|
||||
|
||||
@@ -78,8 +78,6 @@ export function LightboxModal({
|
||||
alt={imageAlt}
|
||||
className="h-full w-full object-contain"
|
||||
onError={onImageError}
|
||||
crossOrigin="anonymous"
|
||||
referrerPolicy="no-referrer"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user