Wrapper around express.Express.use, instead something like app.use("/api", router) you'd call addRouter(someContext, app, "/api", router).
express.Express.use
app.use("/api", router)
addRouter(someContext, app, "/api", router)
should not have a trailing slash (notably '/' would be incorrect, pass '' instead)
Wrapper around
express.Express.use, instead something likeapp.use("/api", router)you'd calladdRouter(someContext, app, "/api", router).