From ec683f169076a258290bf32924aa0f91626b56af Mon Sep 17 00:00:00 2001 From: Quinten Date: Tue, 7 Oct 2025 16:41:16 +0200 Subject: [PATCH] fix: correct directive type for cgi_enabled in DirectiveFactory --- webserv/config/directive/DirectiveFactory.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webserv/config/directive/DirectiveFactory.hpp b/webserv/config/directive/DirectiveFactory.hpp index 59cde9b..77f105b 100644 --- a/webserv/config/directive/DirectiveFactory.hpp +++ b/webserv/config/directive/DirectiveFactory.hpp @@ -36,7 +36,7 @@ class DirectiveFactory {.name = "client_max_body_size", .type = "SizeDirective", .context = "SL"}, {.name = "autoindex", .type = "BoolDirective", .context = "L"}, {.name = "allowed_methods", .type = "VectorDirective", .context = "L"}, - {.name = "cgi_pass", .type = "StringDirective", .context = "L"}, + {.name = "cgi_enabled", .type = "BoolDirective", .context = "L"}, {.name = "cgi_ext", .type = "VectorDirective", .context = "L"}, {.name = "cgi_timeout", .type = "IntDirective", .context = "L"}, {.name = "upload_enabled", .type = "BoolDirective", .context = "L"},