Skip to content

Commit bad7c53

Browse files
committed
Update React frontend build script to use current environment variable names
- Updated build_and_run_local.sh to reference correct REACT_APP variables - Changed from legacy REACT_APP_SPRINGBOOT_URL to REACT_APP_MERN_SQL_ORACLE_SERVICE_URL - Changed from legacy REACT_APP_NODEJS_URL to REACT_APP_MERN_MONGODB_JSONDUALITY_ORACLE_SERVICE_URL - Maintains consistency with current .env configuration and other build scripts
1 parent acadcbd commit bad7c53

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

financial/react-frontend/build_and_run_local.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ echo "1. Sourcing environment variables from ../.env"
77
if [ -f "../.env" ]; then
88
source ../.env
99
echo " Environment variables loaded successfully!"
10-
echo " REACT_APP_SPRINGBOOT_URL: $REACT_APP_SPRINGBOOT_URL"
11-
echo " REACT_APP_HELIDON_URL: $REACT_APP_HELIDON_URL"
12-
echo " REACT_APP_NODEJS_URL: $REACT_APP_NODEJS_URL"
10+
echo " REACT_APP_MERN_SQL_ORACLE_SERVICE_URL: $REACT_APP_MERN_SQL_ORACLE_SERVICE_URL"
11+
echo " REACT_APP_MERN_MONGODB_JSONDUALITY_ORACLE_SERVICE_URL: $REACT_APP_MERN_MONGODB_JSONDUALITY_ORACLE_SERVICE_URL"
12+
echo " REACT_APP_MERN_MONGODB_SERVICE_URL: $REACT_APP_MERN_MONGODB_SERVICE_URL"
1313
else
1414
echo " Warning: ../.env file not found, using default configuration"
1515
fi

0 commit comments

Comments
 (0)