From 2e047f1799bb173302e4451d8c8a1df616867ca5 Mon Sep 17 00:00:00 2001 From: Nadim Basalamah Date: Thu, 21 Mar 2024 13:39:49 +0700 Subject: [PATCH] Revert https://github.com/felixmosh/bull-board/pull/592 --- packages/nestjs/src/bull-board.root-module.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 +}