12 lines
246 B
Python
12 lines
246 B
Python
from fastapi import FastAPI
|
|
from app.api.tvdb import router as tvdb_router
|
|
|
|
app = FastAPI(title="Rename MVP")
|
|
|
|
app.include_router(tvdb_router, prefix="/api/tvdb", tags=["tvdb"])
|
|
|
|
|
|
@app.get("/api/health")
|
|
def health():
|
|
return {"status": "ok"}
|