mirror of
https://github.com/Azornes/Comfyui-LayerForge.git
synced 2026-05-06 08:26:44 -03:00
Update WebSocketManager.ts
This commit is contained in:
@@ -168,5 +168,6 @@ class WebSocketManager {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
const wsUrl = `ws://${window.location.host}/layerforge/canvas_ws`;
|
const protocol = location.protocol === "https:" ? "wss:" : "ws:";
|
||||||
|
const wsUrl = `${protocol}//${location.host}/layerforge/canvas_ws`;
|
||||||
export const webSocketManager = new WebSocketManager(wsUrl);
|
export const webSocketManager = new WebSocketManager(wsUrl);
|
||||||
|
|||||||
Reference in New Issue
Block a user