Update backend/app/main.py
Browse files- backend/app/main.py +2 -1
backend/app/main.py
CHANGED
|
@@ -47,6 +47,7 @@ from app.rob_logic import outcome_key, summarize
|
|
| 47 |
from app.confidence_logic import build_groups, suggested_for
|
| 48 |
from app.search import run_search
|
| 49 |
from app.synthesis import generate_synthesis
|
|
|
|
| 50 |
|
| 51 |
app = FastAPI(title="Systematic Review Tool")
|
| 52 |
|
|
@@ -537,7 +538,7 @@ async def get_synthesis(protocol_id: str) -> SynthesisResult:
|
|
| 537 |
)
|
| 538 |
return result
|
| 539 |
|
| 540 |
-
|
| 541 |
_FRONTEND_DIST = Path(__file__).parent.parent.parent / "frontend" / "dist"
|
| 542 |
|
| 543 |
|
|
|
|
| 47 |
from app.confidence_logic import build_groups, suggested_for
|
| 48 |
from app.search import run_search
|
| 49 |
from app.synthesis import generate_synthesis
|
| 50 |
+
from app.backup_routes import router as backup_router
|
| 51 |
|
| 52 |
app = FastAPI(title="Systematic Review Tool")
|
| 53 |
|
|
|
|
| 538 |
)
|
| 539 |
return result
|
| 540 |
|
| 541 |
+
app.include_router(backup_router)
|
| 542 |
_FRONTEND_DIST = Path(__file__).parent.parent.parent / "frontend" / "dist"
|
| 543 |
|
| 544 |
|