Sync
All checks were successful
Build, Push, and Deploy to Nomad / docker-nomad (push) Successful in 30s

This commit is contained in:
2024-12-16 23:15:37 +01:00
parent 4009d49ee6
commit 4e43c10b54
6 changed files with 63 additions and 11 deletions

View File

@@ -38,10 +38,13 @@ class Application:
def _include_routers(self):
"""Include all route controllers."""
category_controller = CategoryController()
dynamic_controller = DynamicController("./data")
dynamic_controller = DynamicController( "./data" )
self.app.include_router( category_controller.router )
self.app.include_router( dynamic_controller.router )
self.app.include_router(category_controller.router)
self.app.include_router(dynamic_controller.router)
def get_app(self):
"""Return the FastAPI app instance."""