fix config circular dependency (#296)

This commit is contained in:
evanpelle
2025-03-19 15:42:47 -07:00
committed by GitHub
parent 882a39ee70
commit 2c9fc7307e
13 changed files with 79 additions and 84 deletions
+2 -4
View File
@@ -4,10 +4,8 @@ import { WebSocketServer } from "ws";
import path from "path";
import { fileURLToPath } from "url";
import { GameManager } from "./GameManager";
import {
GameEnv,
getServerConfigFromServer,
} from "../core/configuration/Config";
import { GameEnv } from "../core/configuration/Config";
import { getServerConfigFromServer } from "../core/configuration/ConfigLoader";
import { WebSocket } from "ws";
import { Client } from "./Client";
import rateLimit from "express-rate-limit";