diff --git a/srcs/webserv/response.cpp b/srcs/webserv/response.cpp index 3e3820a..591e58a 100644 --- a/srcs/webserv/response.cpp +++ b/srcs/webserv/response.cpp @@ -301,7 +301,7 @@ if no path coresponds then use the most correct one } else { - if (path.size() < it->path.size()) + if (path.size() <= it->path.size()) { std::cout << "path is missing a /\n"; if (it->path.compare(0, path.size(), path) == 0)