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 230eefd
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 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

0 comments on commit 230eefd

Please sign in to comment.