Add a game manager to the server
This commit is contained in:
parent
0ddf5d8a14
commit
6bbd8d68c0
2 changed files with 31 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
import "module-alias/register";
|
||||
|
||||
import startWebsocketServer from "./websocket";
|
||||
import { GameDB } from "./objects/GameDB";
|
||||
import { Logger } from "tslog";
|
||||
import toml from "toml";
|
||||
import fs from "fs";
|
||||
|
|
@ -25,5 +26,6 @@ export const log = new Logger({
|
|||
minLevel: config.log.level,
|
||||
});
|
||||
|
||||
export const games = new GameDB();
|
||||
|
||||
startWebsocketServer();
|
||||
Loading…
Add table
Add a link
Reference in a new issue