Wire production domain, CORS for tenant subdomains, celery volume mounts, and nginx reverse proxy configs for apex, API, identity, auth, and wildcard tenants. Co-authored-by: Cursor <cursoragent@cursor.com>
15 lines
392 B
Python
15 lines
392 B
Python
from fastapi import APIRouter
|
|
|
|
from app import __version__
|
|
from app.core.config import settings
|
|
from app.schemas.common import HealthResponse
|
|
|
|
router = APIRouter(tags=["health"])
|
|
|
|
|
|
@router.get("/health", response_model=HealthResponse)
|
|
async def health() -> HealthResponse:
|
|
return HealthResponse(
|
|
status="ok", service=settings.service_name, version=__version__
|
|
)
|