mbus-backend
    Preparing search index...

    Function addRouter

    • Wrapper around express.Express.use, instead something like app.use("/api", router) you'd call addRouter(someContext, app, "/api", router).

      Parameters

      • ctx: ReflectionInfoRaw
      • app: Express
      • route: string

        should not have a trailing slash (notably '/' would be incorrect, pass '' instead)

      • router: Router

      Returns void