Initial commit: VoIdeaAI - voice-first AI idea assistant
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
"""Public config API routes for VoIdea."""
|
||||
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.core.config import get_settings
|
||||
from app.schemas.config import PublicConfigResponse
|
||||
|
||||
router = APIRouter()
|
||||
settings = get_settings()
|
||||
|
||||
|
||||
@router.get("/public", response_model=PublicConfigResponse)
|
||||
async def public_config():
|
||||
"""Return non-sensitive public configuration (slogan, social links, analytics IDs)."""
|
||||
return settings.public_config
|
||||
Reference in New Issue
Block a user