diff --git a/atcheck-websocket/server.js b/atcheck-websocket/server.js index 0aa9994..6c97a1d 100644 --- a/atcheck-websocket/server.js +++ b/atcheck-websocket/server.js @@ -27,7 +27,7 @@ var server = http.createServer(function (request, response) { }); try { request.on('end', function () { - var body = body.split("&"); + body = body.split("&"); var send_array = { "type": "data", "id": body[1],