mirror of
https://github.com/jcreek/EstimationPoker.git
synced 2026-07-12 18:43:47 +00:00
chore(*): Move websocket server into separate project
This commit is contained in:
@@ -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';
|
import { Server, OPEN } from 'ws';
|
||||||
|
|
||||||
const handler = async (event, context) => {
|
const handler = async (event, context) => {
|
||||||
Reference in New Issue
Block a user