We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa2bc7f commit 4f01c67Copy full SHA for 4f01c67
src/server/middleware/logs.ts
@@ -17,7 +17,11 @@ export const withRequestLogs = async (server: FastifyInstance) => {
17
}
18
19
if (process.env.NODE_ENV === "production") {
20
- if (request.routerPath?.includes("static")) {
+ if (
21
+ request.routerPath?.includes("static") &&
22
+ // Bullboard requires access to static bundle files
23
+ !request.routerPath?.startsWith("/admin/queues")
24
+ ) {
25
return reply.status(404).send({
26
statusCode: 404,
27
error: "Not Found",
0 commit comments