diff --git a/config.cpp b/config.cpp index c10d454..5bcc46d 100644 --- a/config.cpp +++ b/config.cpp @@ -99,7 +99,7 @@ void write_config(const Config& config) { std::string tmp_config_file_path = config_file_path + ".tmp"; std::unique_ptr config_file(fopen_or_raise(tmp_config_file_path.c_str(), "w", false), fclose_and_log); - std::string str_config = nlohmann::json(config).dump(); + std::string str_config = nlohmann::json(config).dump(4); fwrite(str_config.data(), sizeof(char), str_config.size(), config_file.get()); config_file.reset();