chore: Added redirect URL. APP_BASE_URL set in .env

This commit is contained in:
2025-11-17 00:46:15 +01:00
parent 98c1417bf1
commit 9b44c088b8
5 changed files with 27 additions and 33 deletions

View File

@@ -13,6 +13,6 @@ class Settings:
TWITCH_CLIENT_SECRET: str = os.getenv("TWITCH_CLIENT_SECRET")
# The full URL where our app is running, needed for the redirect_uri
APP_BASE_URL: str = "http://localhost:8000" # Update for production
APP_BASE_URL: str = os.getenv("APP_BASE_URL", "http://localhost:8000")
settings = Settings()