big rewrite of extensions

This commit is contained in:
Devaev Maxim
2018-11-14 07:42:43 +03:00
parent c5544349d2
commit 2a540f7bb9
7 changed files with 628 additions and 615 deletions

View File

@@ -39,7 +39,7 @@ function Session() {
var __startPoller = function() {
$("link-led").className = "led-yellow";
$("link-led").title = "Connecting...";
var http = tools.makeRequest("GET", "/wsauth", function() {
var http = tools.makeRequest("GET", "/ws_auth", function() {
if (http.readyState === 4) {
if (http.status === 200) {
__ws = new WebSocket((location.protocol === "https:" ? "wss" : "ws") + "://" + location.host + "/kvmd/ws");