From f396a5a608dc774f3eeac24a62150e840cb11e6c Mon Sep 17 00:00:00 2001 From: Vivek Teega Date: Tue, 1 Sep 2020 09:59:21 +0530 Subject: [PATCH] Change websocket connection to https --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 60d99e9..815b94d 100644 --- a/index.html +++ b/index.html @@ -9737,7 +9737,7 @@ requestData(request = []) { return new Promise((resolve, reject) => { - var websocket = new WebSocket("ws://" + floGlobals.webAppURL + "/ws"); + var websocket = new WebSocket("wss://" + floGlobals.webAppURL + "/ws"); websocket.onmessage = (evt => { if (evt.data == '$+') { websocket.send(`?${JSON.stringify(request)}`); @@ -9965,6 +9965,7 @@ } } + updateVotes(articles_votesmapping, map_articlekey_column) })