chore(*): Move websocket server into separate project

This commit is contained in:
Josh Creek
2023-07-02 12:33:38 +00:00
parent 642825cca9
commit 40c01bbe01
2 changed files with 16 additions and 2 deletions
+16
View File
@@ -0,0 +1,16 @@
{
"name": "websocket-server",
"version": "1.0.0",
"description": "",
"main": "websocket.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"license": "ISC",
"dependencies": {
"@netlify/functions": "^1.6.0",
"uuid": "^9.0.0",
"ws": "^8.13.0"
}
}
@@ -1,5 +1,3 @@
// websocket.js
import { Server, OPEN } from 'ws';
const handler = async (event, context) => {