ci: add backend v2 deployment workflow
This commit is contained in:
@@ -63,6 +63,11 @@ app = FastAPI(
|
||||
)
|
||||
|
||||
|
||||
@app.get("/health", include_in_schema=False)
|
||||
async def health() -> dict[str, bool]:
|
||||
return {"ok": True}
|
||||
|
||||
|
||||
# Include Routers
|
||||
app.include_router(api_router, prefix="/api/v1")
|
||||
# Legcy Routers without version prefix
|
||||
|
||||
Reference in New Issue
Block a user