Skip to content

Commit 5946a66

Browse files
committed
removing some extraneous commented out code
1 parent e12df85 commit 5946a66

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

server.js

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -56,30 +56,4 @@ app.get('/', function(req, res) {
5656
});
5757
req.end();
5858

59-
});
60-
61-
// wss.on('connection',function connection(ws){
62-
// // var jsonData={};
63-
// // var options = {
64-
// // socketPath: "/var/run/docker.sock",
65-
// // path: ('/events'),
66-
// // method: 'GET'
67-
// // };
68-
// // var req = http.request(options, (res) => {
69-
// // res.on('data', (chunk) => {
70-
// // ws.send(chunk.toString());
71-
// // });
72-
// // res.on('end', () => {
73-
// // ws.json(jsonData);
74-
// // });
75-
// // });
76-
// // req.on('error', (e) => {
77-
// // console.log(`problem with request: ${e.message}`);
78-
// // console.log(e.stack);
79-
// // });
80-
// // req.end();
81-
// while(true)
82-
// {setTimeout(function() {
83-
// ws.send('message');
84-
// }, 5000 );}
85-
// });
59+
});

0 commit comments

Comments
 (0)