From 21da372d9087bad768aef54ca8267dafa30e947c Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Sun, 27 Apr 2025 23:47:38 -0600 Subject: use env variable if provided --- client/src/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/config.js') diff --git a/client/src/config.js b/client/src/config.js index 8007eda..2ca0e70 100644 --- a/client/src/config.js +++ b/client/src/config.js @@ -1,3 +1,3 @@ -const API_BASE_URL = 'http://10.0.0.164:8000'; +const API_BASE_URL = process.env.REACT_APP_API_BASE_URL || 'http://10.0.0.164:8000'; export default API_BASE_URL; -- cgit v1.2.3