aboutsummaryrefslogtreecommitdiff
path: root/websockets
diff options
context:
space:
mode:
Diffstat (limited to 'websockets')
-rw-r--r--websockets/package.json2
-rwxr-xr-xwebsockets/server.js2
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;