You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @fundon,
I was created a Router for Koa based on Trek-Router.
I want to support 405 method not allowed and 501 path not implemented as you can see here but I can't do that with the current result of find method because we don't have any indicator about path was finded or not.
So, if there is any other way to get what I ask. or please add something added to result to be like that;
@fundon, No, I just tried to fix that, but my solution affects the performance as it solves only the static routes. Otherwise not work with param or any-match routes.
So please can you provide this feature or can you improve the variable names so that I can help here ?!
Hi @fundon,
I was created a Router for Koa based on Trek-Router.
I want to support
405 method not allowed
and501 path not implemented
as you can see here but I can't do that with the current result offind
method because we don't have any indicator about path was finded or not.So, if there is any other way to get what I ask. or please add something added to result to be like that;
The text was updated successfully, but these errors were encountered: