We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf19919 + 1351b8b commit 382e1d5Copy full SHA for 382e1d5
1 file changed
server/app/main.py
@@ -63,6 +63,10 @@ async def upload_test():
63
# print(a.decode())
64
plt.imshow(Image.open(BytesIO(a)))
65
plt.show()
66
+
67
+@app.get("/health")
68
+async def health_check():
69
+ return {"status": "ok"}
70
71
# 라우터 등록 및 정적 파일 설정
72
app.mount("/static", StaticFiles(directory="static"), name="static")
0 commit comments