Skip to content

Commit

Permalink
feature(web): Add healthecheck api endpoint (#332)
Browse files Browse the repository at this point in the history
* add healthecheck api endpoint

* Remove meili healthcheck

* Replace unnecessary variable with static content

---------

Co-authored-by: Wuast94 <wuast94@wuast24.de>
  • Loading branch information
wuast94 and Wuast94 authored Sep 21, 2024
1 parent 7cd857c commit 3377969
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions apps/web/app/api/health/route.ts
Original file line number Diff line number Diff line change
@@ -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",
});
};

0 comments on commit 3377969

Please sign in to comment.