Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

fix(geo): parse netlify ip header by default: `x-nf-client-connection-ip`

Andrey Neringbfcc822b4055
diff --git a/src/lib/constants.ts b/src/lib/constants.ts
index 2718c135c..18fc652b7 100644
--- a/src/lib/constants.ts
+++ b/src/lib/constants.ts
@@ -344,6 +344,7 @@ export const IP_ADDRESS_HEADERS = [
'x-cluster-client-ip',
'x-forwarded',
'x-forwarded-for',
+ 'x-nf-client-connection-ip',
'x-real-ip',
];