Change websocket connection to https
This commit is contained in:
parent
02ae6936d4
commit
f396a5a608
@ -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)
|
||||
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user