Update ProgramExtra.cs

This commit is contained in:
Cooper H 2021-06-18 19:30:41 -04:00 committed by GitHub
parent 8d5f504bc8
commit 37f3179aee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@ namespace LightReflectiveMirror
try
{
// 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
{