Files
meet/src/summary/summary/main.py
T
Florent Chehab 27da57aff5 💥(summary) remove v1 related code
This commit cleans up most of the code related to v1 route that
is used only by visio.
This is first step before introducing an update to the v2 route.
2026-07-06 20:53:29 +02:00

22 lines
484 B
Python

"""Application."""
import sentry_sdk
from fastapi import FastAPI
from summary.api import health
from summary.api.main import api_router_v2
from summary.core.config import get_settings
settings = get_settings()
if settings.sentry_dsn and settings.sentry_is_enabled:
sentry_sdk.init(dsn=settings.sentry_dsn, enable_tracing=True)
app = FastAPI(
title=settings.app_name,
)
app.include_router(api_router_v2, prefix=settings.app_api_v2_str)
app.include_router(health.router)