Showing
1 changed file
with
2 additions
and
0 deletions
@@ -13,6 +13,8 @@ module.exports = (req, res, next) => { | @@ -13,6 +13,8 @@ module.exports = (req, res, next) => { | ||
13 | let refer = ''; | 13 | let refer = ''; |
14 | 14 | ||
15 | if (req.method === 'GET') { | 15 | if (req.method === 'GET') { |
16 | + refer = req.getUrl(); | ||
17 | + } else { | ||
16 | refer = req.get('Referer'); | 18 | refer = req.get('Referer'); |
17 | } | 19 | } |
18 | 20 |
-
Please register or login to post a comment