update wss in commonfunctions automatically

This commit is contained in:
Mystikfluu
2022-07-27 19:20:20 +02:00
parent 0c9499a624
commit 8dd177da25
+3 -1
View File
@@ -409,7 +409,7 @@ START /API/*
var wss;
const commonfunctions = {
var commonfunctions = {
increaseAPICall,
increaseUSERCall,
increaseAccountAPICall,
@@ -1055,4 +1055,6 @@ wss.on("connection", function connection(ws) {
})
})
commonfunctions.wss = wss
console.log(5,"starting up all services")