Temp commit

This commit is contained in:
Yann Flory
2016-03-08 15:13:57 +01:00
parent 870b2dbb7e
commit c536ecbc1c
3 changed files with 42 additions and 17 deletions

View File

@@ -5,10 +5,6 @@ const UNSUPPORTED_DATA = 1007
const POLICY_VIOLATION = 1008
const CLOSE_UNSUPPORTED = 1003
// let server = new WebSocketServer({port: PORT}, () => {
// console.log('Server runs on: ws://localhost:' + PORT)
// })
var run = module.exports.run = function(storage, server) {
server.on('connection', (socket) => {
socket.on('message', (data) => {