path: Target pathname. Defaults to req.originalUrl || req.url.
oldrich-svec opened this issue · 1 comments
oldrich-svec commented
It seems like this sentence from readme is not correct
path: Target pathname. Defaults to req.originalUrl || req.url.
as you always override path with ureq.path = path
.
It should probably be something like if (path !== undefined) ureq.path = path
ronag commented
Fixed. Thanks!