Un-break http3 examples
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ namespace uWS {
|
|||||||
/* Todo: This is ugly, fix */
|
/* Todo: This is ugly, fix */
|
||||||
std::vector<std::string> methods;
|
std::vector<std::string> methods;
|
||||||
if (method == "*") {
|
if (method == "*") {
|
||||||
methods = contextData->router.upperCasedMethods; //bug! needs to be upper cased!
|
methods = {"*"}; //bug! needs to be upper cased!
|
||||||
// router.upperCasedMethods;
|
// router.upperCasedMethods;
|
||||||
} else {
|
} else {
|
||||||
methods = {method};
|
methods = {method};
|
||||||
|
|||||||
Reference in New Issue
Block a user