diff --git a/src/settings.cpp b/src/settings.cpp index b98403a..53300b3 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -68,7 +68,7 @@ namespace kuu { if (redirect_node["desc"]) { if (not redirect_node["desc"].IsScalar()) throw std::runtime_error("\"desc\" node is not a scalar"); - redir_settings.host = redirect_node["desc"].as(); + redir_settings.desc = redirect_node["desc"].as(); } return redir_settings;