changing ip autodetection url, yet again

This commit is contained in:
Mark Sturgill 2014-04-23 00:12:15 -07:00
parent 568bd43733
commit ba8e6c7a19

View file

@ -173,11 +173,8 @@ namespace Server.Misc
private static IPAddress FindPublicAddress()
{
try {
#if MONO
WebRequest req = HttpWebRequest.Create( "http://req.azurewebsites.net/ip.aspx" );
#else
WebRequest req = HttpWebRequest.Create( "https://req.azurewebsites.net/ip.aspx" );
#endif
WebRequest req = HttpWebRequest.Create( "http://uo.cx/ip.php" );
req.Timeout = 15000;
WebResponse res = req.GetResponse();