Update ProgramExtra.cs
This commit is contained in:
parent
8d5f504bc8
commit
37f3179aee
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ namespace LightReflectiveMirror
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
// easier to just ping an outside source to get our public ip
|
// easier to just ping an outside source to get our public ip
|
||||||
publicIP = webClient.DownloadString("http://ipv4.icanhazip.com").Replace("\\r", "").Replace("\\n", "").Trim();
|
publicIP = webClient.DownloadString("https://api.ipify.org/").Replace("\\r", "").Replace("\\n", "").Trim();
|
||||||
}
|
}
|
||||||
catch
|
catch
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue