Skip to content

Commit ff6485d

Browse files
committed
Merge remote-tracking branch 'origin/ph/txWorkerRedis' into ph/txWorkerRedis
2 parents cd3c105 + 4f01c67 commit ff6485d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/server/middleware/logs.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,11 @@ export const withRequestLogs = async (server: FastifyInstance) => {
1717
}
1818

1919
if (process.env.NODE_ENV === "production") {
20-
if (request.routerPath?.includes("static")) {
20+
if (
21+
request.routerPath?.includes("static") &&
22+
// Bullboard requires access to static bundle files
23+
!request.routerPath?.startsWith("/admin/queues")
24+
) {
2125
return reply.status(404).send({
2226
statusCode: 404,
2327
error: "Not Found",

0 commit comments

Comments
 (0)