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
I have an app that uses router.all() to support route accesses using multiple methods (typically a mix of GET and POST). For these routes, express-slash doesn't redirect to the right slash variant, even for methods such as GET.
Could a check please be added to support router.all()?
A quick check through the code and some light testing, and if I change index.js line 50 to:
I have an app that uses router.all() to support route accesses using multiple methods (typically a mix of GET and POST). For these routes, express-slash doesn't redirect to the right slash variant, even for methods such as GET.
Could a check please be added to support router.all()?
A quick check through the code and some light testing, and if I change index.js line 50 to:
...then that works for my own situation.
Thanks.
The text was updated successfully, but these errors were encountered: