Skip to content

Commit

Permalink
dev: Log dev mode env var
Browse files Browse the repository at this point in the history
  • Loading branch information
lscambo13 committed Apr 4, 2024
1 parent 29a279e commit 43e09ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js_modules/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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/'
Expand Down

0 comments on commit 43e09ec

Please sign in to comment.