From d33af81f09bd73ef2e7578ea6f95fd6a2dd07288 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 31 Mar 2026 21:27:58 +0000 Subject: [PATCH] Add api/index.py with FastAPI app, root and health endpoints Agent-Logs-Url: https://github.com/pragan333/expo/sessions/51756363-e3dd-4ccc-acc5-b5b8045311fc Co-authored-by: pragan333 <220984917+pragan333@users.noreply.github.com> --- api/index.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 api/index.py diff --git a/api/index.py b/api/index.py new file mode 100644 index 00000000000000..442939ce98a5dd --- /dev/null +++ b/api/index.py @@ -0,0 +1,13 @@ +from fastapi import FastAPI + +app = FastAPI() + + +@app.get("/") +def root(): + return {"status": "ok"} + + +@app.get("/health") +def health(): + return {"status": "ok"}