Showing
1 changed file
with
4 additions
and
0 deletions
@@ -30,6 +30,10 @@ module.exports = async(req, res, next) => { | @@ -30,6 +30,10 @@ module.exports = async(req, res, next) => { | ||
30 | } | 30 | } |
31 | let baseParams; | 31 | let baseParams; |
32 | let reqParams = Object.assign({}, req.query, req.body); | 32 | let reqParams = Object.assign({}, req.query, req.body); |
33 | + | ||
34 | + req.route = { | ||
35 | + path: req.path | ||
36 | + }; | ||
33 | 37 | ||
34 | res.set({ | 38 | res.set({ |
35 | 'Cache-Control': 'no-cache', | 39 | 'Cache-Control': 'no-cache', |
-
Please register or login to post a comment