fix: mounting of all-route middlewares to router instead of app
related to julianlam/nodebb-plugin-session-sharing#73 These three lines haven't changed in two years, but it makes more sense for them to be called against the relative path router, otherwise req.originalUrl contains the relative path, which is not necessary.v1.18.x
parent
f972f75202
commit
d722f3b8b6
Loading…
Reference in New Issue