v3.4.6
This commit is contained in:
@@ -28,7 +28,9 @@ public static class NetHelper
|
||||
string result = string.Empty;
|
||||
if (App.HttpContext != null)
|
||||
result = GetWebClientIp();
|
||||
return result.Equals("::1") ? "127.0.0.1" : result;
|
||||
result = result.Equals("::1") ? "127.0.0.1" : result;
|
||||
result = result.Replace(":", string.Empty).Replace("ffff", string.Empty);
|
||||
return result;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user