mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-30 13:22:51 +00:00
log ip address for debugging (TODO remove logging before next release)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user