Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix reachability url

Ammar Ahmed46a67a56fbfc
diff --git a/apps/mobile/index.js b/apps/mobile/index.js
index 0438da982..80689c767 100644
--- a/apps/mobile/index.js
+++ b/apps/mobile/index.js
@@ -17,9 +17,10 @@ Notifications.init();
enableFreeze(true);
NetInfo.configure({
- reachabilityUrl: "https://notesnook.com",
+ reachabilityUrl: "https://api.notesnook.com/health",
reachabilityTest: (response) => {
if (!response) return false;
+ console.log("reachabilty test", response.status);
return response?.status >= 200 && response?.status < 300;
}
});