From 966146603b125fea5245c8a1a2d77979d8745e85 Mon Sep 17 00:00:00 2001 From: Dmitriy Savchenko Date: Wed, 1 Oct 2014 15:43:40 +0300 Subject: [PATCH] Replace unpublished websocket-server --- lib/cube/server.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/cube/server.js b/lib/cube/server.js index eabbf400..c3a83003 100644 --- a/lib/cube/server.js +++ b/lib/cube/server.js @@ -3,12 +3,12 @@ var util = require("util"), http = require("http"), dgram = require("dgram"), websocket = require("websocket"), - websprocket = require("websocket-server"), + websprocket = require("node-websocket-server"), static = require("node-static"), database = require('./database'); // And then this happened: -websprocket.Connection = require("../../node_modules/websocket-server/lib/ws/connection"); +websprocket.Connection = require("../../node_modules/node-websocket-server/lib/ws/connection"); // Configuration for WebSocket requests. var wsOptions = { diff --git a/package.json b/package.json index 3991731e..f32b6153 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,6 @@ "pegjs": "0.7.0", "vows": "0.7.0", "websocket": "1.0.8", - "websocket-server": "1.4.04" + "node-websocket-server": "0.0.1" } }