rollback urlparams

This commit is contained in:
m957ymj75urz 2023-03-18 20:13:25 +01:00
parent 16001e9429
commit 5fa514fa51

View File

@ -113,8 +113,7 @@ class ComfyApp {
var filename = src.replace(/^.*[\\\/]/, '');
var subfolder = src.replace(filename, '');
var params = new URLSearchParams({file: filename, subfolder});
img.src = "/view?" + params.toString();
img.src = "/view?file=" + filename + "&subfolder=" + subfolder;
});
})
).then((imgs) => {