This commit is contained in:
lik
2026-05-25 12:46:14 +08:00
parent 01d54cc580
commit 17014446ba
24 changed files with 5932 additions and 0 deletions

10
index.js Normal file
View File

@@ -0,0 +1,10 @@
import { APP } from './app.js'
import WebSocketServerManager from './websocket.js'
// HTTP server
const koaApp = new APP();
koaApp.start(9004);
// WebSocket server
const wsServer = new WebSocketServerManager(9005);
wsServer.start();