Updated the config.h

This commit is contained in:
2023-10-29 14:39:39 +01:00
parent a5d30402cb
commit 04904c04bc

View File

@@ -9,9 +9,10 @@ class config {
public: public:
/** /**
* Reads the config file and returns a json object. * Reads the config file and returns a json object.
* @param path path to the config file
* @return json object * @return json object
*/ */
static json read_config(); static json read_config(const std::string& path);
/** /**
* Checks if the config file is valid. * Checks if the config file is valid.