Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yoho-apm
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
htoooth
2018-09-17 17:44:11 +0800
Commit
18399157888cf13008248b60d9ddf49e7b8d635f
1 parent
6359a9af
Revert "Revert "fix""
This reverts commit
43f830a4
.
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
middleware/getip.js
middleware/getip.js
View file @
1839915
...
...
@@ -3,4 +3,4 @@ const requestIp = require('request-ip');
module
.
exports
=
function
(
req
,
res
,
next
)
{
req
.
clientIp
=
requestIp
.
getClientIp
(
req
);
next
();
};
\ No newline at end of file
};
...
...
Please
register
or
login
to post a comment