diff --git a/packages/nestjs/src/bull-board.root-module.ts b/packages/nestjs/src/bull-board.root-module.ts index 5a93f019..8eb4a940 100644 --- a/packages/nestjs/src/bull-board.root-module.ts +++ b/packages/nestjs/src/bull-board.root-module.ts @@ -17,8 +17,7 @@ export class BullBoardRootModule implements NestModule { } configure(consumer: MiddlewareConsumer): any { - const globalPrefix = this.applicationConfig.getGlobalPrefix() || ''; - this.adapter.setBasePath(`${ globalPrefix }${ this.options.route }`); + this.adapter.setBasePath(this.options.route); if (isExpressAdapter(this.adapter)) { return consumer @@ -75,4 +74,4 @@ export class BullBoardRootModule implements NestModule { ], }; } -} \ No newline at end of file +}