fix: correct directive type for cgi_enabled in DirectiveFactory

This commit is contained in:
Quinten 2025-10-07 16:41:16 +02:00
parent 8fa1c44f78
commit ec683f1690

View File

@ -36,7 +36,7 @@ class DirectiveFactory
{.name = "client_max_body_size", .type = "SizeDirective", .context = "SL"}, {.name = "client_max_body_size", .type = "SizeDirective", .context = "SL"},
{.name = "autoindex", .type = "BoolDirective", .context = "L"}, {.name = "autoindex", .type = "BoolDirective", .context = "L"},
{.name = "allowed_methods", .type = "VectorDirective", .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_ext", .type = "VectorDirective", .context = "L"},
{.name = "cgi_timeout", .type = "IntDirective", .context = "L"}, {.name = "cgi_timeout", .type = "IntDirective", .context = "L"},
{.name = "upload_enabled", .type = "BoolDirective", .context = "L"}, {.name = "upload_enabled", .type = "BoolDirective", .context = "L"},