This commit is contained in:
Your Name
2025-04-21 12:22:03 +12:00
parent c220fca691
commit 34e2bd238c
10 changed files with 184 additions and 79 deletions

View File

@ -30,7 +30,7 @@ std::vector<ServerInfo> get_configured_servers() {
for (const auto& entry : fs::directory_iterator(servers_dir)) {
if (fs::is_directory(entry)) {
fs::path env_file = entry.path() / "_server.env";
fs::path env_file = entry.path();
server_env env(env_file.string());
if (!env.is_valid()) {
std::cerr << "Error: Invalid server environment file: " << env_file.string() << std::endl;