Closed BugRoger closed 3 years ago
The console log assumes the hkknx API is being called using a insecure connection.
Something like this should do the trick:
function createSocket() { var connectionEstablished = false; if (window["WebSocket"]) { socket = new WebSocket((window.location.protocol === "https:") ? "wss://" : "ws://") + document.location.host +"/api/system/log");
This should be fixed in the latest pre-release build for version 1.3.0.
The console log assumes the hkknx API is being called using a insecure connection.
Something like this should do the trick: