log ip address for debugging (TODO remove logging before next release)

This commit is contained in:
Evan
2024-12-27 12:36:06 -08:00
committed by evanpelle
parent 3fe8d28abe
commit 843a1186ce
+2
View File
@@ -166,8 +166,10 @@ function anonymizeIPv6(ipv6: string): string | null {
}
function anonymizeIP(ip: string): string | null {
console.log(`anonymize got ip: ${ip}`)
const ipv4Result = anonymizeIPv4(ip);
if (ipv4Result) {
console.log(`got ipv4 result: ${ipv4Result}`)
return ipv4Result;
}