Add health check path for backend

This commit is contained in:
2024-10-16 01:29:47 -05:00
parent c7751097b2
commit e637d47efa
+4
View File
@@ -23,6 +23,10 @@ app.add_middleware(
allow_headers=["*"],
)
@app.get("/health")
async def health():
return "OK"
@app.get("/api/test")
async def get_current_time(request: Request):