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
540bbbdb
"git@developer.sourcefind.cn:wangsen/paddle_dbnet.git" did not exist on "d13456012f7289dd8e339d0be895c196a214172f"
Unverified
Commit
540bbbdb
authored
Feb 13, 2023
by
pythongosssss
Committed by
GitHub
Feb 13, 2023
Browse files
Handle https when creating socket
parent
c4723776
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
webshit/index.html
webshit/index.html
+1
-1
No files found.
webshit/index.html
View file @
540bbbdb
...
...
@@ -490,7 +490,7 @@ document.addEventListener('drop', (event) => {
if
(
ws
)
return
;
let
opened
=
false
;
ws
=
new
WebSocket
(
`ws://
${
location
.
host
}
/ws`
);
ws
=
new
WebSocket
(
`ws
${
window
.
location
.
protocol
===
"
https
"
?
"
s
"
:
""
}
://
${
location
.
host
}
/ws`
);
ws
.
addEventListener
(
"
open
"
,
()
=>
{
opened
=
true
;
...
...
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