Open cescoffier opened 3 weeks ago
At the moment it does not check if it needs to connect using ws:// or wss://
ws://
wss://
We need:
var protocol = (window.location.protocol == “https:“) ? “wss” : “ws”; const socket = new WebSocket(protocol + “://” + window.location.host + “/chatbot”);
This need to be added to all the HTML pages.
At the moment it does not check if it needs to connect using
ws://
orwss://
We need:
This need to be added to all the HTML pages.