Skip to content

Commit

Permalink
Make example work for dev by default
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh authored Jul 30, 2022
1 parent 3a3146a commit a26418b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions example.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ import * as Bull from 'bull';
import Queue3 from 'bull';
import { Queue as QueueMQ, QueueScheduler, Worker } from 'bullmq';
import express from 'express';
import { BullMQAdapter } from '@bull-board/api/dist/src/queueAdapters/bullMQ';
import { BullAdapter } from '@bull-board/api/dist/src/queueAdapters/bull';
import { createBullBoard } from '@bull-board/api';
import { ExpressAdapter } from '@bull-board/express';
import { BullMQAdapter } from '@bull-board/api/src/queueAdapters/bullMQ';
import { BullAdapter } from '@bull-board/api/src/queueAdapters/bull';
import { createBullBoard } from '@bull-board/api/src';
import { ExpressAdapter } from '@bull-board/express/src';

const redisOptions = {
port: 6379,
Expand Down Expand Up @@ -78,7 +78,7 @@ const run = async () => {
});
});

const serverAdapter = new ExpressAdapter();
const serverAdapter: any = new ExpressAdapter();
serverAdapter.setBasePath('/ui');

createBullBoard({
Expand Down

0 comments on commit a26418b

Please sign in to comment.