@davoodmehraban89 / LifeMate / commits / 1c7cf2d
Fork 0

LifeMate — Personal, Family & Learning Companion

feat(cloudflare): fail-closed QA route

davoodmehraban89 committed Oct 15, 2026 at 07:45 UTC 1c7cf2da758baea13919640ab33017c46575f853
1 file changed +11
functions/health.ts new
+11
@@ -0,0 +1,11 @@
1 +export const onRequestGet = async (): Promise<Response> =>
2 + new Response(JSON.stringify({
3 + status: "ok",
4 + component: "pwa_gateway_only",
5 + product: "LifeGuide",
6 + backend: "not_connected",
7 + }), { status: 200, headers: {
8 + "Content-Type": "application/json; charset=utf-8",
9 + "Cache-Control": "no-store",
10 + "X-Content-Type-Options": "nosniff",
11 + } });