chore: wire documents router into main.py for testing

This commit is contained in:
Tianyang 2026-08-01 02:32:51 +08:00
parent 5b4bc4e719
commit 6633cab98e

View File

@ -2,6 +2,7 @@ from fastapi import FastAPI
from fastapi.middleware.cors import CORSMiddleware
from app.config import settings
from app.routers import documents
app = FastAPI(title="DocHub API")
@ -13,6 +14,8 @@ app.add_middleware(
allow_headers=["*"],
)
app.include_router(documents.router)
@app.get("/health")
def health():