Skip to content

Commit

Permalink
Revert felixmosh#592
Browse files Browse the repository at this point in the history
  • Loading branch information
dimbslmh authored Mar 21, 2024
1 parent 1f7f3d0 commit 2e047f1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/nestjs/src/bull-board.root-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -75,4 +74,4 @@ export class BullBoardRootModule implements NestModule {
],
};
}
}
}

0 comments on commit 2e047f1

Please sign in to comment.