Make "*" method actually catch all methods, tweak priority order a bit
This commit is contained in:
+1
-1
@@ -426,7 +426,7 @@ public:
|
||||
/* Todo: This is ugly, fix */
|
||||
std::vector<std::string> methods;
|
||||
if (method == "*") {
|
||||
methods = httpContextData->currentRouter->upperCasedMethods;
|
||||
methods = {"*"};
|
||||
} else {
|
||||
methods = {method};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user