CPS-API / core /config.py
Ali2206's picture
Upload 11 files
b29925a verified
raw
history blame
218 Bytes
import os
SECRET_KEY = os.getenv("SECRET_KEY", "your-secret-key")
ALGORITHM = "HS256"
ACCESS_TOKEN_EXPIRE_MINUTES = 30
MONGO_URI = os.getenv("MONGO_URI")
if not MONGO_URI:
raise RuntimeError("MONGO_URI not set!")