feat: redesign match play and add broadcast tooling

This commit is contained in:
2026-09-29 02:52:56 +00:00
parent f417a831f7
commit 9b9aafefc1
348 changed files with 31588 additions and 11094 deletions

11
prod-server.ts Normal file
View File

@@ -0,0 +1,11 @@
import { createServer } from 'node:http';
import { handler } from './build/handler.js';
import { attachSockets } from './src/lib/server/ws-attach.ts';
const port = Number(process.env.PORT || 3000);
const host = process.env.HOST || '0.0.0.0';
const server = createServer(handler);
await attachSockets(server);
server.listen(port, host, () => {
console.log(`Vash Esports listening on ${host}:${port}`);
});