membphis commented on issue #2725:
URL: https://github.com/apache/apisix/issues/2725#issuecomment-726228576


   https://github.com/apache/apisix/blob/master/apisix/init.lua#L377-L380
   
   ```
   local user_defined_route_matched = router.router_http.match(api_ctx)
       if not user_defined_route_matched then
           router.api.match(api_ctx)
       end
   ```
   
   change to this, it might work ^_^
   
   ```
       local user_defined_route_matched = router.api.match(api_ctx)
       if not user_defined_route_matched then
           router.router_http.match(api_ctx)
       end
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to