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
737c1587
"src/include/threadwise_gemm.cuh" did not exist on "9bbe9073ab90ba1ff4e680eaaa985d6d2ee81e92"
Commit
737c1587
authored
Apr 23, 2023
by
comfyanonymous
Browse files
Merge branch 'change-session-store' of
https://github.com/pythongosssss/ComfyUI
parents
5282f564
c8355ed3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
web/scripts/api.js
web/scripts/api.js
+2
-2
No files found.
web/scripts/api.js
View file @
737c1587
...
@@ -35,7 +35,7 @@ class ComfyApi extends EventTarget {
...
@@ -35,7 +35,7 @@ class ComfyApi extends EventTarget {
}
}
let
opened
=
false
;
let
opened
=
false
;
let
existingSession
=
sessionStorage
[
"
Comfy.SessionId
"
]
||
""
;
let
existingSession
=
window
.
name
;
if
(
existingSession
)
{
if
(
existingSession
)
{
existingSession
=
"
?clientId=
"
+
existingSession
;
existingSession
=
"
?clientId=
"
+
existingSession
;
}
}
...
@@ -75,7 +75,7 @@ class ComfyApi extends EventTarget {
...
@@ -75,7 +75,7 @@ class ComfyApi extends EventTarget {
case
"
status
"
:
case
"
status
"
:
if
(
msg
.
data
.
sid
)
{
if
(
msg
.
data
.
sid
)
{
this
.
clientId
=
msg
.
data
.
sid
;
this
.
clientId
=
msg
.
data
.
sid
;
sessionStorage
[
"
Comfy.SessionId
"
]
=
this
.
clientId
;
window
.
name
=
this
.
clientId
;
}
}
this
.
dispatchEvent
(
new
CustomEvent
(
"
status
"
,
{
detail
:
msg
.
data
.
status
}));
this
.
dispatchEvent
(
new
CustomEvent
(
"
status
"
,
{
detail
:
msg
.
data
.
status
}));
break
;
break
;
...
...
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