Skip to content

Commit 3ddf069

Browse files
committed
chore: add health endpoint
1 parent b9788c1 commit 3ddf069

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

.env.example

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:5432/replane
77
# DATABASE_PORT=5432
88
# DATABASE_NAME=replane
99

10-
PG_INSECURE=true
11-
# local|self|production|test
12-
STAGE=local
13-
1410
# Force color output in terminal, for pretty test output
1511
FORCE_COLOR=1
1612

src/app/mbx-health/route.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import {NextResponse} from 'next/server';
2+
3+
export function GET() {
4+
return NextResponse.json({status: 'ok'});
5+
}

0 commit comments

Comments
 (0)