Skip to content
Snippets Groups Projects

use js scheme detection at webmanagement page

Merged analogic requested to merge analogic/knot-resolver:master into master
3 files
+ 1
3
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -332,7 +332,7 @@ $(function() {
}
/* WebSocket endpoints */
var wsStats = (secure ? 'wss://' : 'ws://') + location.host + '/stats';
var wsStats = ('https:' == document.location.protocol ? 'wss://' : 'ws://') + location.host + '/stats';
var ws = new Socket(wsStats);
ws.onmessage = function(evt) {
var data = JSON.parse(evt.data);
Loading