Improve the demo feature of the project
This commit is contained in:
@@ -21,7 +21,9 @@ from app.api import (
|
||||
production_schedules,
|
||||
production_operations,
|
||||
production_dashboard,
|
||||
analytics
|
||||
analytics,
|
||||
quality_templates,
|
||||
internal_demo
|
||||
)
|
||||
|
||||
|
||||
@@ -162,11 +164,14 @@ service.setup_standard_endpoints()
|
||||
service.setup_custom_middleware()
|
||||
|
||||
# Include standardized routers
|
||||
# NOTE: Register more specific routes before generic parameterized routes
|
||||
service.add_router(quality_templates.router) # Register first to avoid route conflicts
|
||||
service.add_router(production_batches.router)
|
||||
service.add_router(production_schedules.router)
|
||||
service.add_router(production_operations.router)
|
||||
service.add_router(production_dashboard.router)
|
||||
service.add_router(analytics.router)
|
||||
service.add_router(internal_demo.router)
|
||||
|
||||
|
||||
@app.post("/test/production-scheduler")
|
||||
|
||||
Reference in New Issue
Block a user