Skip to content

Commit

Permalink
feat: health probes
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennecl committed Mar 12, 2024
1 parent 9e5b266 commit 70878b5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/app/auth/[auth0]/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { handleAuth } from '@/lib/auth';

export const GET = handleAuth();
3 changes: 3 additions & 0 deletions src/app/healthz/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function GET() {
return new Response('OK', { status: 200 });
}
3 changes: 3 additions & 0 deletions src/app/livez/route.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export function GET() {
return new Response('OK', { status: 200 });
}

0 comments on commit 70878b5

Please sign in to comment.