From 401a1bc1f4062f3b9a1127e2537bdd8fa34ec9e0 Mon Sep 17 00:00:00 2001 From: adjoly Date: Tue, 6 May 2025 16:19:39 +0200 Subject: [PATCH] =?UTF-8?q?=E3=80=8C=F0=9F=94=A8=E3=80=8D=20fix:=20fixed?= =?UTF-8?q?=20some=20things.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/help.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/help.cpp b/src/help.cpp index eab851c..34ade0f 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/06 16:14:03 by adjoly ### ########.fr */ +/* Updated: 2025/05/06 16:19:36 by adjoly ### ########.fr */ /* */ /* ************************************************************************** */ @@ -37,8 +37,8 @@ void _generateConf(void) { _log.info(str.str()); std::ofstream file(SAMPLE_CONF_PATH); if (file.is_open()) { - file << "[server]\nhost = \"localhost\"\nport = " - "8080\n\n[server.location./]\nmethods = { \"GET\" }\nroot " + file << "[server]\nhost = \"0.0.0.0\"\nport = " + "80\n\n[server.location./]\nmethods = { \"GET\" }\nroot " "= \"/var/www/html\"\ndirlist = true\nclient_max_body_size " "= \"10M\"\n"; file.close();