diff --git a/src/app/api/health/route.ts b/src/app/api/health/route.ts new file mode 100644 index 0000000..1d77bf9 --- /dev/null +++ b/src/app/api/health/route.ts @@ -0,0 +1,3 @@ +export function GET() { + return new Response("ok", { status: 200 }); +} diff --git a/src/proxy.ts b/src/proxy.ts index c2c869f..de5ce7d 100644 --- a/src/proxy.ts +++ b/src/proxy.ts @@ -1,5 +1,5 @@ export { auth as proxy } from "@/auth"; export const config = { - matcher: ["/((?!api/auth|_next/static|_next/image|favicon\\.ico|login).*)"], + matcher: ["/((?!api/auth|api/health|_next/static|_next/image|favicon\\.ico|login).*)"], };