YashB1 commited on
Commit
640a10a
·
verified ·
1 Parent(s): 11fc9db

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -0
app.py CHANGED
@@ -295,6 +295,11 @@ app.add_middleware(
295
  allow_methods=["*"], allow_headers=["*"],
296
  )
297
 
 
 
 
 
 
298
  # ✅ Register endpoint
299
  @app.post("/register/")
300
  async def register(body: RegisterRequest):
 
295
  allow_methods=["*"], allow_headers=["*"],
296
  )
297
 
298
+ @app.get("/")
299
+ async def health():
300
+ return {"status": "ok"}
301
+
302
+
303
  # ✅ Register endpoint
304
  @app.post("/register/")
305
  async def register(body: RegisterRequest):