diff options
Diffstat (limited to 'server/bin/index.ts')
-rw-r--r-- | server/bin/index.ts | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/server/bin/index.ts b/server/bin/index.ts new file mode 100644 index 0000000..fdf1352 --- /dev/null +++ b/server/bin/index.ts @@ -0,0 +1,10 @@ +import { runServer } from "../src/server"; +import process from "process"; + +const port = +(process.env.PORT || 5000); + +runServer({ + httpPort: port, + wsPort: port + 1, + logger: console.log +}); |