DRY up the routes

patch bump
This commit is contained in:
2026-04-05 04:34:40 +01:00
parent 9760bc8338
commit 6476be53c5
10 changed files with 52 additions and 52 deletions

View File

@@ -27,8 +27,8 @@ app = FastAPI(
{'name': 'bus', 'description': 'Endpoints for controlling bus parameters.'},
],
)
app.include_router(strip.router, prefix='/strip')
app.include_router(bus.router, prefix='/bus')
app.include_router(strip.router, prefix='/strip/{index}')
app.include_router(bus.router, prefix='/bus/{index}')
@app.get('/health')