fix(confidence-engine): keep health endpoint public
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
||||
import { createServerClient } from "@supabase/ssr";
|
||||
import { NextResponse } from "next/server";
|
||||
|
||||
const PUBLIC_PATHS = ["/login", "/auth"];
|
||||
const PUBLIC_PATHS = ["/login", "/auth", "/api/health"];
|
||||
|
||||
export async function middleware(request) {
|
||||
const pathname = request.nextUrl.pathname;
|
||||
|
||||
Reference in New Issue
Block a user