fixed autoindex
This commit is contained in:
@@ -209,6 +209,7 @@ If we get a url that ends in / ignore the last /
|
||||
return (&(*it));
|
||||
else if (uri[it->path.size()] == '/')
|
||||
return (&(*it));
|
||||
// this works cuz only ever looking for a / burried in a longer path
|
||||
}
|
||||
}
|
||||
return (&(server.locations.back()));
|
||||
|
||||
Reference in New Issue
Block a user