Update Config local to remote name
This commit is contained in:
@@ -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."
|
||||
|
||||
Reference in New Issue
Block a user