mirror of
https://github.com/3lswear/webserv.git
synced 2025-10-29 13:27:59 +03:00
feat: first working simple version
This commit is contained in:
@@ -26,8 +26,8 @@ namespace config
|
||||
void display(TOMLMap *config)
|
||||
{
|
||||
std::cout << "printing config:" << std::endl;
|
||||
std::cout << (*config)["name"] << std::endl;
|
||||
std::cout << (*config)["port"] << std::endl;
|
||||
std::cout << "name: " << *(*config)["name"]->toString() << std::endl;
|
||||
std::cout << "port: " << *(*config)["port"]->toString() << std::endl;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user