From caf47505cdbf28afd7e95a7166ed92d59f9ed6ee Mon Sep 17 00:00:00 2001 From: Joe Baker Date: Fri, 8 Nov 2024 12:33:44 +0000 Subject: [PATCH] chore: add check to public routes --- apps/nextjs/src/middlewares/auth.middleware.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/nextjs/src/middlewares/auth.middleware.ts b/apps/nextjs/src/middlewares/auth.middleware.ts index 361fea1e9..bd5d0edfb 100644 --- a/apps/nextjs/src/middlewares/auth.middleware.ts +++ b/apps/nextjs/src/middlewares/auth.middleware.ts @@ -22,6 +22,7 @@ const publicRoutes = [ "/api/health", "/aila/health", "/api/trpc/main/health.check", + "/api/trpc/main/health.prismaCheck", "/api/trpc/chat/chat.health.check", /** * The inngest route is protected using a signing key