Bug fixing

This commit is contained in:
Your Name
2025-05-25 15:11:13 +12:00
parent 27acc9f9f0
commit 3033701d6c
3 changed files with 11 additions and 12 deletions

View File

@@ -17,10 +17,7 @@ bool load_config(const std::string& config_path, ServerConfig& config) {
nlohmann::json j;
file >> j;
config.host = "0.0.0.0";
config.port = 8123;
config.object_store_path = "/data/storage";
config.write_tokens = {};
config = ServerConfig(); // set defaults.
// Parse write tokens
if (j.contains("write_tokens")) {