allow env var for base_url

This commit is contained in:
Ajay Raj 2023-03-06 21:42:33 -08:00
commit bdc3bd783f

View file

@ -4,4 +4,4 @@ from dotenv import load_dotenv
load_dotenv()
api_key = os.getenv("VOCODE_API_KEY")
BASE_URL = "napi.vocode.dev"
BASE_URL = os.getenv("VOCODE_BASE_URL", "napi.vocode.dev")