req.path
Contains the path part of the request URL.
// example.com/users?sort=desc req.path // => "/users"
When called from a middleware, the mount point is not included in req.path
. See app.use() for more details.
req.path
Contains the path part of the request URL.
// example.com/users?sort=desc req.path // => "/users"
When called from a middleware, the mount point is not included in req.path
. See app.use() for more details.
Please login to continue.