websocket init

This commit is contained in:
2024-03-15 15:44:29 +01:00
parent 11c6d4635f
commit 13c9c8bd3d
15 changed files with 332 additions and 25 deletions

View File

@ -33,6 +33,8 @@ function ModalLoad(idmodal,title,path) {
}
{% if wssuse %}
console.log("pouet");
function subscribe(channeltype,channelkey,userkey) {
console.log("== SUBSCRIBE "+channeltype+"-"+channelkey+" with userkey "+userkey);
conn.send(JSON.stringify({