1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-04 07:52:46 +08:00
This commit is contained in:
comfyanonymous
2023-03-20 14:29:45 -04:00
4 changed files with 39 additions and 16 deletions

View File

@@ -109,8 +109,8 @@ class ComfyApp {
return new Promise((r) => {
const img = new Image();
img.onload = () => r(img);
img.onerror = () => r(null);
img.src = "/view/" + src;
img.onerror = () => r(null);
img.src = "/view?" + new URLSearchParams(src).toString();
});
})
).then((imgs) => {