Closed AdaRoseCannon closed 8 years ago
When used in middleware it uses the relative path of the middleware rather than the originalUrl of the response. This is because in express req.url is only the path relative of the one that triggered the middleware.
See: http://expressjs.com/en/api.html#app.use
When used in middleware it uses the relative path of the middleware rather than the originalUrl of the response. This is because in express req.url is only the path relative of the one that triggered the middleware.
See: http://expressjs.com/en/api.html#app.use