mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-15 06:12:18 +00:00
"fix cors"
This commit is contained in:
1 parent
3244b802fa
commit
3d44e6e29e
1 file changed
+4
-3
@@ -266,14 +266,15 @@ export const GalleryModal = React.memo(
|
||||
</div>
|
||||
) : (
|
||||
<img
|
||||
src={item.thumbnail}
|
||||
//src={item.thumbnail}
|
||||
src={item.fullImage || item.thumbnail}
|
||||
alt={item.label}
|
||||
className="h-full w-full object-cover"
|
||||
onError={() =>
|
||||
handleImageError(item.thumbnail!)
|
||||
}
|
||||
//crossOrigin="anonymous"
|
||||
//referrerPolicy="no-referrer"
|
||||
crossOrigin="anonymous"
|
||||
referrerPolicy="no-referrer"
|
||||
/>
|
||||
)}
|
||||
{mode === "select" &&
|
||||
|
||||
Reference in new issue
Block a user