Skip to content

A self-hostable bookmark-everything app (links, notes and images) with AI-based automatic tagging and full text search

feature(web): Add healthecheck api endpoint (#332)

Marc33779697c7c9
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",
+ });
+};