dragonxd1 commited on
Commit
180e486
·
verified ·
1 Parent(s): 0cebeb1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ def run_app():
31
  install_requirements()
32
  start_script()
33
 
34
- @app.get("/") # <-- Add this
35
  def root():
36
  return {"status": "ok"}
37
 
 
31
  install_requirements()
32
  start_script()
33
 
34
+ @app.api_route("/", methods=["GET", "HEAD"])
35
  def root():
36
  return {"status": "ok"}
37