Skip to content

Commit

Permalink
fix: correctly get the IP address from the request headers
Browse files Browse the repository at this point in the history
  • Loading branch information
SteveBunlon authored Jun 4, 2021
1 parent 2dcb393 commit 2b5ed1d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@babel/runtime": "7.10.1",
"bluebird": "2.9.25",
"core-js": "3.6.5",
"forest-express": "9.0.0-beta.1",
"forest-express": "9.0.0-beta.3",
"http-errors": "1.6.1",
"lodash": "4.17.21",
"moment": "2.19.4",
Expand Down
14 changes: 10 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4783,10 +4783,10 @@ for-in@^1.0.2:
resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80"
integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA=

[email protected].1:
version "9.0.0-beta.1"
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-9.0.0-beta.1.tgz#40fc9e1ace3f6105c376f3436556b10f9069fecb"
integrity sha512-PX59L0DkGRMJU+7jTzyFMAMWnqrfgaWOqXLEZlIg7+Dg7bBwL+h3PlxsHDTd/g6xCT6BzvKAoUCLUQXQK4x+wA==
[email protected].3:
version "9.0.0-beta.3"
resolved "https://registry.yarnpkg.com/forest-express/-/forest-express-9.0.0-beta.3.tgz#6268cdbfb25b469e2d4a2651621e3855ad2834a2"
integrity sha512-8Jb8fpm9xr2VP4W9OUMSf7riDkMBA/Oa1BtoGkK3QSzOf6u85eBTfXfn/gsr6NK/1/gNdhiIRob7witdki0klg==
dependencies:
"@babel/runtime" "7.10.1"
base32-encode "1.1.1"
Expand All @@ -4801,6 +4801,7 @@ [email protected]:
forest-ip-utils "1.0.1"
http-errors "1.7.3"
inflected "2.0.4"
ipaddr.js "2.0.0"
jsonapi-serializer "3.6.5"
jsonwebtoken "8.5.1"
lodash "4.17.21"
Expand Down Expand Up @@ -5696,6 +5697,11 @@ [email protected]:
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-1.9.0.tgz#37df74e430a0e47550fe54a2defe30d8acd95f65"
integrity sha512-M4Sjn6N/+O6/IXSJseKqHoFc+5FdGJ22sXqnjTpdZweHK64MzEPAyQZyEU3R/KRv2GLoa7nNtg/C2Ev6m7z+eA==

[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ipaddr.js/-/ipaddr.js-2.0.0.tgz#77ccccc8063ae71ab65c55f21b090698e763fc6e"
integrity sha512-S54H9mIj0rbxRIyrDMEuuER86LdlgUg9FSeZ8duQb6CUG2iRrA36MYVQBSprTF/ZeAwvyQ5mDGuNvIPM0BIl3w==

is-accessor-descriptor@^0.1.6:
version "0.1.6"
resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6"
Expand Down

0 comments on commit 2b5ed1d

Please sign in to comment.