Skip to content

Commit

Permalink
Make server start on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
EwanLyon committed Feb 2, 2021
1 parent 997432e commit 8b63f24
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/extension/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,7 @@ server.on('close', () => {
nodecg.log.info('Server closed');
});

// setInterval(() => {
// serverRateRep.value = numOfMessages;
// numOfMessages = 0;
// }, 1000);
server.listen(nodecg.bundleConfig.port, nodecg.config.host);

// Map data here as it is as I want to minimise the time it take for the data to be processed
function mapData(allPlayerData: CSGOAllplayer[], observingId?: string) {
Expand Down

0 comments on commit 8b63f24

Please sign in to comment.