diff --git a/packages/nestjs/src/bull-board.root-module.ts b/packages/nestjs/src/bull-board.root-module.ts index 5a93f019..9f8f85b4 100644 --- a/packages/nestjs/src/bull-board.root-module.ts +++ b/packages/nestjs/src/bull-board.root-module.ts @@ -29,7 +29,7 @@ export class BullBoardRootModule implements NestModule { if (isFastifyAdapter(this.adapter)) { this.adapterHost.httpAdapter .getInstance() - .register(this.adapter.registerPlugin(), {prefix: this.options.route}); + .register(this.adapter.registerPlugin(), {prefix: `${ globalPrefix }${ this.options.route }`}); return consumer .apply(this.options.middleware) @@ -75,4 +75,4 @@ export class BullBoardRootModule implements NestModule { ], }; } -} \ No newline at end of file +}