xtts67 / config.py
sg123321's picture
Update config.py
6c45254 verified
raw
history blame contribute delete
571 Bytes
import os
# 1. Supabase Keys
SUPABASE_URL = os.getenv("SUPABASE_URL")
SUPABASE_KEY = os.getenv("SUPABASE_KEY")
# Check Connection
if SUPABASE_URL and SUPABASE_KEY:
IS_CONNECTED = True
print("✅ Supabase Keys Found!")
else:
IS_CONNECTED = False
print("⚠️ Supabase Keys Missing!")
# 2. App Authentication (Login Details)
# अगर सेटिंग्स में नहीं मिला तो डिफ़ॉल्ट 'admin' यूज़ करेगा
APP_USER = os.getenv("APP_USER", "admin")
APP_PASS = os.getenv("APP_PASS", "pass123")