From a26418bd1c86f25b6e69aa3f3921042c0eb9cef2 Mon Sep 17 00:00:00 2001 From: Felix Mosheev <9304194+felixmosh@users.noreply.github.com> Date: Sat, 30 Jul 2022 08:44:52 +0300 Subject: [PATCH] Make example work for dev by default --- example.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/example.ts b/example.ts index bf9645f8..9a5b1d4d 100644 --- a/example.ts +++ b/example.ts @@ -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, @@ -78,7 +78,7 @@ const run = async () => { }); }); - const serverAdapter = new ExpressAdapter(); + const serverAdapter: any = new ExpressAdapter(); serverAdapter.setBasePath('/ui'); createBullBoard({