From 1191eb484b9ba59f56e5a74c510cf1f7d02b7737 Mon Sep 17 00:00:00 2001 From: Blaine Bublitz Date: Mon, 2 Dec 2024 15:17:52 -0700 Subject: [PATCH] add example to readme --- ip/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ip/README.md b/ip/README.md index 1a62ecc30..e32268072 100644 --- a/ip/README.md +++ b/ip/README.md @@ -39,6 +39,9 @@ console.log(globalIp); // Also optionally takes a platform for additional protection const platformGuardedGloablIp = ip(request, { platform: "fly-io" }); + +// You can also pass a list of trusted proxies to ignore +const proxyExcludedGlobalIp = ip(request, { proxies: ["103.31.4.0"] }); ``` ## Considerations