Skip to content

Commit

Permalink
default path
Browse files Browse the repository at this point in the history
  • Loading branch information
Joabesv committed Dec 29, 2024
1 parent cddbf55 commit 8ea3229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/core/src/queue/board.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ import { createBullBoard } from '@bull-board/api';
import { BullMQAdapter } from '@bull-board/api/bullMQAdapter.js';
import type { Queue } from 'bullmq';

export const boardUiPath = process.env.BOARD_PATH as string;
export const boardUiPath = '/board/ui';
export function createBoard(queues: Queue[]) {
const adapter = new FastifyAdapter();
adapter.setBasePath(boardUiPath ?? '/board');
adapter.setBasePath(boardUiPath);

createBullBoard({
serverAdapter: adapter,
Expand Down

0 comments on commit 8ea3229

Please sign in to comment.