This commit is contained in:
@@ -16,10 +16,6 @@ bool load_config(const std::string& config_path, ServerConfig& config) {
|
||||
std::cerr << "Config file does not exist: " << config_path << std::endl;
|
||||
return false;
|
||||
}
|
||||
if (!std::filesystem::is_regular_file(config_path)) {
|
||||
std::cerr << "Config file is not a regular file: " << config_path << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
std::ifstream file(config_path);
|
||||
if (!file.is_open()) {
|
||||
|
Reference in New Issue
Block a user