From ea7e3a096450940689a5fd24dacad27d4b006f91 Mon Sep 17 00:00:00 2001 From: enes Date: Fri, 13 Sep 2024 11:06:06 +0200 Subject: [PATCH] refactor: update url for online status --- src/utils/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/utils.ts b/src/utils/utils.ts index ee21230..ece0770 100644 --- a/src/utils/utils.ts +++ b/src/utils/utils.ts @@ -35,7 +35,7 @@ export const isOnline = async () => { try { // Define a URL to check the online status - const url = 'https://www.google.com' + const url = 'https://www.sigit.io' // Make a HEAD request to the URL with 'no-cors' mode // This mode is used to handle opaque responses which do not expose their content