rework payload from server

This commit is contained in:
m957ymj75urz
2023-03-19 12:54:29 +01:00
parent 5fa514fa51
commit d1138e8ba0
4 changed files with 15 additions and 13 deletions

View File

@@ -141,7 +141,7 @@ export const ComfyWidgets = {
node.imgs = [img];
app.graph.setDirtyCanvas(true);
};
img.src = `/view/${name}?type=input`;
img.src = `/view?filename=${name}&type=input`;
}
// Add our own callback to the combo widget to render an image when it changes