diff options
| author | Marc <github@wuast24.de> | 2024-09-21 14:46:19 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-21 13:46:19 +0100 |
| commit | 33779697c7c97c9394bb8f6c7e08bd82e2f3a87c (patch) | |
| tree | f490f00c5c195500b2946560149ebc53e2c2d9b2 /apps/web/app/api/health | |
| parent | 7cd857c77232c4b0291b9a9ac1044d0ec1b892e5 (diff) | |
| download | karakeep-33779697c7c97c9394bb8f6c7e08bd82e2f3a87c.tar.zst | |
feature(web): Add healthecheck api endpoint (#332)
* add healthecheck api endpoint
* Remove meili healthcheck
* Replace unnecessary variable with static content
---------
Co-authored-by: Wuast94 <wuast94@wuast24.de>
Diffstat (limited to 'apps/web/app/api/health')
| -rw-r--r-- | apps/web/app/api/health/route.ts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/web/app/api/health/route.ts b/apps/web/app/api/health/route.ts new file mode 100644 index 00000000..8e5326c6 --- /dev/null +++ b/apps/web/app/api/health/route.ts @@ -0,0 +1,8 @@ +import { NextRequest, NextResponse } from "next/server"; + +export const GET = async (_req: NextRequest) => { + return NextResponse.json({ + status: "ok", + message: "Web app is working", + }); +}; |
