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 3724a36 commit 0a196f4Copy full SHA for 0a196f4
keep-ui/middleware.ts
@@ -52,7 +52,8 @@ export const middleware = auth(async (request) => {
52
!isAuthenticated &&
53
!pathname.startsWith("/signin") &&
54
!pathname.startsWith("/health") &&
55
- !pathname.startsWith("/error")
+ !pathname.startsWith("/error") &&
56
+ !pathname.startsWith("/api/healthcheck")
57
) {
58
const redirectTo = request.nextUrl.href || "/incidents";
59
console.log(
0 commit comments