From 43e09ecca0e23ba80d3c15ab8972be03f81155c5 Mon Sep 17 00:00:00 2001 From: lscambo13 Date: Thu, 4 Apr 2024 20:21:55 +0530 Subject: [PATCH] dev: Log dev mode env var --- js_modules/constants.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js_modules/constants.js b/js_modules/constants.js index f02b608..49f3507 100644 --- a/js_modules/constants.js +++ b/js_modules/constants.js @@ -43,12 +43,13 @@ export const DEF_PREF = export let BACKEND_URL; if (process.env.NODE_ENV === 'development') { BACKEND_URL = 'http://localhost:8081'; - console.log(process.env.NODE_ENV, BACKEND_URL); + // console.log(process.env.NODE_ENV, BACKEND_URL); // BACKEND_URL = 'http://192.168.29.31:8081'; // BACKEND_URL = 'http://192.168.29.110:8081'; } else { BACKEND_URL = 'https://casamia.cambo.in/api'; } +console.log(process.env.NODE_ENV, BACKEND_URL); // 'https://github.com/lscambo13/casamia/raw/main/wallpapers/' // 'https://raw.githubusercontent.com/lscambo13/casamia/main/wallpapers/'