Skip to content
This repository has been archived by the owner on Sep 5, 2022. It is now read-only.

Commit

Permalink
Update ProgramExtra.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
cxxpxr authored Jun 18, 2021
1 parent 8d5f504 commit 37f3179
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ private static void GetPublicIP()
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
{
Expand Down

0 comments on commit 37f3179

Please sign in to comment.