From 11b1831b81a89e98fabc771b6a698f11f438b215 Mon Sep 17 00:00:00 2001 From: tomsmeding Date: Sat, 18 Mar 2017 22:45:40 +0100 Subject: Use uws instead of ws --- websockets/package.json | 2 +- websockets/server.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/websockets/package.json b/websockets/package.json index 7a71e7d..e3c4a66 100644 --- a/websockets/package.json +++ b/websockets/package.json @@ -17,6 +17,6 @@ "author": "Tom Smeding (https://tomsmeding.com)", "license": "MIT", "dependencies": { - "ws": "^2.2.1" + "uws": "^0.13.0" } } diff --git a/websockets/server.js b/websockets/server.js index c6af67f..6b32cba 100755 --- a/websockets/server.js +++ b/websockets/server.js @@ -1,6 +1,6 @@ #!/usr/bin/env node const net=require("net"); -const WebSocket=require("ws"); +const WebSocket=require("uws"); const PORT=29546; -- cgit v1.2.3-70-g09d2