shikibu9419 commited on
Commit
3d09ea6
·
1 Parent(s): 0380f70

Add root route

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -28,9 +28,13 @@ def to_byte_response(img):
28
  # supports_credentials=True
29
  # )
30
 
 
 
 
 
31
 
32
  @app.get("/api/health_check")
33
- def read_root():
34
  return {"status": "ok"}
35
 
36
 
 
28
  # supports_credentials=True
29
  # )
30
 
31
+ @app.get("/")
32
+ def read_root():
33
+ return {"status": "ok"}
34
+
35
 
36
  @app.get("/api/health_check")
37
+ def health_check():
38
  return {"status": "ok"}
39
 
40