A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
use prod server in dev mode
ammarahm-edad073c7870e1
diff --git a/apps/mobile/src/utils/DB.js b/apps/mobile/src/utils/DB.jsindex 298affc12..5df3ec398 100644--- a/apps/mobile/src/utils/DB.js+++ b/apps/mobile/src/utils/DB.js@@ -9,12 +9,16 @@ export const db = new Database(Storage,Platform.OS === 'ios' ? EventSource : AndroidEventSource,);---db.host( __DEV__ ? {- API_HOST: 'http://192.168.10.6:5264',+/**+ * API_HOST: 'http://192.168.10.6:5264',AUTH_HOST: 'http://192.168.10.6:8264',SSE_HOST: 'http://192.168.10.6:7264',+ */++db.host( __DEV__ ? {+ API_HOST: 'https://api.notesnook.com',+ AUTH_HOST: 'https://auth.streetwriters.co',+ SSE_HOST: 'https://events.streetwriters.co',} : {API_HOST: 'https://api.notesnook.com',AUTH_HOST: 'https://auth.streetwriters.co',