From d8c77bcb561dbd06418501ab979dd36108591217 Mon Sep 17 00:00:00 2001 From: tigercoding56 Date: Sat, 23 Nov 2024 17:39:34 -0800 Subject: [PATCH 1/2] Update util.rs fix bug hopefully --- src/parse/util.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/parse/util.rs b/src/parse/util.rs index 410c842..271cca2 100644 --- a/src/parse/util.rs +++ b/src/parse/util.rs @@ -1,3 +1,3 @@ pub fn checkonline() -> bool { - reqwest::blocking::get("https://nmcheck.gnome.org/check_network_status.txt").is_ok() -} \ No newline at end of file + reqwest::blocking::get("http://nmcheck.gnome.org/check_network_status.txt").is_ok() +} From 3eb1204866cd471fc2d5644082e2b207c48f48c7 Mon Sep 17 00:00:00 2001 From: tigercoding56 Date: Sun, 15 Dec 2024 21:13:25 -0800 Subject: [PATCH 2/2] Update util.rs nmcheck.gnome.org is offline bc (no good reason --- src/parse/util.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse/util.rs b/src/parse/util.rs index 271cca2..1c06d37 100644 --- a/src/parse/util.rs +++ b/src/parse/util.rs @@ -1,3 +1,3 @@ pub fn checkonline() -> bool { - reqwest::blocking::get("http://nmcheck.gnome.org/check_network_status.txt").is_ok() + reqwest::blocking::get("https://google.com").is_ok() }