Fix communications for frontend

This commit is contained in:
Renn F
2025-12-15 20:59:31 +01:00
parent a8df78fa3e
commit fe2f7f7595
2 changed files with 9 additions and 5 deletions
+4
View File
@@ -22,3 +22,7 @@ tests
!README.md !README.md
Makefile Makefile
.pre-commit-config.yaml .pre-commit-config.yaml
# NAS recycle bin (UGREEN NAS)
\#recycle
Recycling Bin
+5 -5
View File
@@ -180,32 +180,32 @@ def create_app() -> FastAPI:
# Phase 3: Intelligence - Optimal API and Journal API # Phase 3: Intelligence - Optimal API and Journal API
app.include_router( app.include_router(
optimal_router, optimal_router,
prefix=api_prefix, prefix=f"{api_prefix}/optimal",
tags=["Optimal API"], tags=["Optimal API"],
) )
app.include_router( app.include_router(
journals_router, journals_router,
prefix=api_prefix, prefix=f"{api_prefix}/journals",
tags=["Journals"], tags=["Journals"],
) )
# Phase 5: Management - Tasks, Kanban, Dashboards # Phase 5: Management - Tasks, Kanban, Dashboards
app.include_router( app.include_router(
tasks_router, tasks_router,
prefix=api_prefix, prefix=f"{api_prefix}/tasks",
tags=["Tasks"], tags=["Tasks"],
) )
app.include_router( app.include_router(
kanban_router, kanban_router,
prefix=api_prefix, prefix=f"{api_prefix}/kanban",
tags=["Kanban"], tags=["Kanban"],
) )
app.include_router( app.include_router(
dashboard_router, dashboard_router,
prefix=api_prefix, prefix=f"{api_prefix}/dashboard",
tags=["Dashboard"], tags=["Dashboard"],
) )