diff --git a/sample.toml b/sample.toml index 7bc0cde..f082b19 100644 --- a/sample.toml +++ b/sample.toml @@ -1,5 +1,5 @@ [server] host = "0.0.0.0" -port = 8080 +port = 80 [server.location./] diff --git a/src/help.cpp b/src/help.cpp index 38f3efc..ee602d4 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -6,7 +6,7 @@ /* By: adjoly +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/04/10 13:08:36 by adjoly #+# #+# */ -/* Updated: 2025/05/08 11:58:13 by adjoly ### ########.fr */ +/* Updated: 2025/06/09 18:43:18 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -40,7 +40,7 @@ void _generateConf(const std::string path) { std::ofstream file(path.c_str()); if (file.is_open()) { file << "[server]\nhost = \"0.0.0.0\"\nport = " - "80\n\n[server.location./]\n"; + "80\n\n[server.location./]\nmethods = { \"GET\" }\n"; file.close(); _log.info("config file successfully generated"); } else {