mirror of
https://github.com/onyx-and-iris/vmr-http.git
synced 2026-04-16 14:43:31 +00:00
DRY up the routes
patch bump
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user