diff options
author | tomsmeding <tom.smeding@gmail.com> | 2017-03-18 22:45:40 +0100 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2017-03-18 22:45:40 +0100 |
commit | 11b1831b81a89e98fabc771b6a698f11f438b215 (patch) | |
tree | 8e1437053462439a4b6b543b9e5b7cc90d08059a | |
parent | 97d38dd4ee9ae37c3c307f601dfee0f8b3b6437f (diff) |
Use uws instead of ws
-rw-r--r-- | websockets/package.json | 2 | ||||
-rwxr-xr-x | 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 <tom.smeding@gmail.com> (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; |