Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Replace unpublished websocket-server #149

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/cube/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}