Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
5fa514fa
Commit
5fa514fa
authored
Mar 18, 2023
by
m957ymj75urz
Browse files
rollback urlparams
parent
16001e94
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
web/scripts/app.js
web/scripts/app.js
+1
-2
No files found.
web/scripts/app.js
View file @
5fa514fa
...
...
@@ -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
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment