diff --git a/server.js b/server.js index 4397e18..9b5573f 100644 --- a/server.js +++ b/server.js @@ -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")