Location sorter works, fixed the compilation error i was having on this branch, now working on autoindex
This commit is contained in:
@@ -29,7 +29,8 @@ void ConfigParser::_post_processing(std::vector<ServerConfig> *servers)
|
||||
|
||||
// if Allow methodes not specified we set to ALL
|
||||
if (it->allow_methods == UNKNOWN) // in this case that means nothing...
|
||||
it->allow_methods = ALL_METHODS;
|
||||
it->allow_methods = ANY_METHODS;
|
||||
// would prefer ALL_METHODS
|
||||
|
||||
if (it->index.empty())
|
||||
throw std::invalid_argument("Config file needs an Index");
|
||||
|
||||
Reference in New Issue
Block a user