From a6218997e7c3d1b7ff8b4bfcbe28d98bcd13f973 Mon Sep 17 00:00:00 2001 From: Giovani Rodriguez Date: Thu, 24 Jul 2025 20:20:15 +0000 Subject: [PATCH] fix: change env variable to correct name --- generate_configs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/generate_configs.py b/generate_configs.py index 4ee2076..255404c 100644 --- a/generate_configs.py +++ b/generate_configs.py @@ -4,7 +4,7 @@ from pathlib import Path # === Prompt user input === # react_api_url = input("🔧 Enter the REACT_APP_API_BASE_URL (e.g. https://minxa.wtf): ").strip() -allowed_origins = input("🔒 Enter allowed CORS origins for the backend comma-separated (e.g. https://minxa.lol,https://minxo.lol): ").strip() +allow_origins = input("🔒 Enter allowed CORS origins for the backend comma-separated (e.g. https://minxa.lol,https://minxo.lol): ").strip() # Ask for environment and validate input valid_envs = ["dev", "stage", "prod"] @@ -33,7 +33,7 @@ DATABASE_URL=postgresql+asyncpg://{db_user}:{db_password}@{db_host}:{db_port}/{d ENVIRONMENT={environment} HASHIDS_SALT={hashids_salt} ENCODER_ALPHABET={encoder_alphabet} -ALLOWED_ORIGINS={allowed_origins} +ALLOW_ORIGINS={allow_origins} """ backend_env_path = Path("backend/.env")