from fastapi import APIRouter from app.core.config import settings router = APIRouter() @router.get("/config") async def get_app_config(): return { "debug_mode": bool(settings.debug_mode), }