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
feat: conditional api host for debugging
thecodrrfdd37df726d2
diff --git a/packages/core/utils/constants.js b/packages/core/utils/constants.jsindex 8a6ff4628..fa7a45cce 100644--- a/packages/core/utils/constants.js+++ b/packages/core/utils/constants.js@@ -1,4 +1,7 @@-export const HOST = "https://api.notesnook.com/";+export const HOST =+ process.env.NODE_ENV === "production"+ ? "https://api.notesnook.com/"+ : "0.0.0.0:8000";export const HEADERS = {agent: "nn/1.0.0",origin: "notesnook.com",