Skip to content

Commit

Permalink
fix(backend): update and re-enable Bull Dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
zyoshoka committed Sep 29, 2024
1 parent 15f2e14 commit c351a10
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 105 deletions.
6 changes: 3 additions & 3 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@
"dependencies": {
"@aws-sdk/client-s3": "3.620.0",
"@aws-sdk/lib-storage": "3.620.0",
"@bull-board/api": "5.23.0",
"@bull-board/fastify": "5.23.0",
"@bull-board/ui": "5.23.0",
"@bull-board/api": "6.0.0",
"@bull-board/fastify": "6.0.0",
"@bull-board/ui": "6.0.0",
"@discordapp/twemoji": "15.1.0",
"@fastify/accepts": "5.0.0",
"@fastify/cookie": "10.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/backend/src/server/web/ClientServerService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export class ClientServerService {
});

bullBoardServerAdapter.setBasePath(bullBoardPath);
//(fastify.register as any)(bullBoardServerAdapter.registerPlugin(), { prefix: bullBoardPath });
(fastify.register as any)(bullBoardServerAdapter.registerPlugin(), { prefix: bullBoardPath });
//#endregion

fastify.register(fastifyView, {
Expand Down
2 changes: 0 additions & 2 deletions packages/backend/test/e2e/fetch-resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,6 @@ describe('Webリソース', () => {
}));
});

/* queueは一時的に無効化されている
describe.each([{ path: '/queue' }])('$path', ({ path }) => {
test('はログインしないとGETできない。', async () => await notOk({
path,
Expand All @@ -198,7 +197,6 @@ describe('Webリソース', () => {
cookie: cookie(alice),
}));
});
*/

describe.each([{ path: '/streaming' }])('$path', ({ path }) => {
test('はGETできない。', async () => await notOk({
Expand Down
Loading

0 comments on commit c351a10

Please sign in to comment.