From cd1f9b67adc28e2121b561c16c760afd245a1f22 Mon Sep 17 00:00:00 2001 From: Miepee Date: Sun, 9 Oct 2022 21:45:59 +0200 Subject: [PATCH] slightly improve whether launcher is connected to internet check --- AM2RLauncher/AM2RLauncherLib/HelperMethods.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AM2RLauncher/AM2RLauncherLib/HelperMethods.cs b/AM2RLauncher/AM2RLauncherLib/HelperMethods.cs index 8022e04..8072113 100644 --- a/AM2RLauncher/AM2RLauncherLib/HelperMethods.cs +++ b/AM2RLauncher/AM2RLauncherLib/HelperMethods.cs @@ -155,7 +155,7 @@ public static class HelperMethods public static bool IsConnectedToInternet() { log.Info("Checking internet connection..."); - HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://github.com"); + HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://github.com/site-map"); try { request.GetResponse();