Update Config local to remote name

This commit is contained in:
2025-11-18 11:00:01 +07:00
parent 9855a6c6ed
commit 6341d712ef
12 changed files with 49 additions and 49 deletions

View File

@@ -55,19 +55,19 @@ echo " InfluxDB Prices Data Export"
echo "======================================"
echo ""
echo "Select environment:"
echo "1) SandboxLocal"
echo "2) ProductionLocal"
echo "1) SandboxRemote"
echo "2) ProductionRemote"
echo ""
read -p "Enter your choice (1 or 2): " ENV_CHOICE
case $ENV_CHOICE in
1)
ENVIRONMENT="SandboxLocal"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.SandboxLocal.json"
ENVIRONMENT="SandboxRemote"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.SandboxRemote.json"
;;
2)
ENVIRONMENT="ProductionLocal"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.ProductionLocal.json"
ENVIRONMENT="ProductionRemote"
APPSETTINGS_FILE="$SRC_DIR/Managing.Api/appsettings.ProductionRemote.json"
;;
*)
error "Invalid choice. Please run the script again and select 1 or 2."