mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2024-12-18 20:17:50 +00:00
Update websocket.js to use browser scheme
This commit is contained in:
parent
ab5e3d9f85
commit
2cb9042107
@ -14,7 +14,7 @@ var globals={
|
||||
waitAnimation:undefined
|
||||
}
|
||||
|
||||
var socket = io.connect('http://' + document.domain + ':' + location.port);
|
||||
var socket = io.connect(location.protocol + '//' + document.domain + ':' + location.port);
|
||||
|
||||
socket.on('connect', function() {
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user