.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user