fix(backend): update and re-enable Bull Dashboard (#14648)

This commit is contained in:
zyoshoka 2024-09-29 18:44:55 +09:00 committed by GitHub
parent 0871156780
commit 1184436461
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 72 additions and 107 deletions

View file

@ -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",

View file

@ -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, {

View file

@ -180,7 +180,6 @@ describe('Webリソース', () => {
}));
});
/* queue
describe.each([{ path: '/queue' }])('$path', ({ path }) => {
test('はログインしないとGETできない。', async () => await notOk({
path,
@ -198,7 +197,6 @@ describe('Webリソース', () => {
cookie: cookie(alice),
}));
});
*/
describe.each([{ path: '/streaming' }])('$path', ({ path }) => {
test('はGETできない。', async () => await notOk({