mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
rollback urlparams
This commit is contained in:
parent
16001e9429
commit
5fa514fa51
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user