AnyaXZero commited on
Commit
2e5aeb8
·
verified ·
1 Parent(s): c0b1f2c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,6 +31,6 @@ def run_app():
31
  def startup_event():
32
  threading.Thread(target=run_app).start()
33
 
34
- @app.get("/")
35
  def home():
36
  return {"status": "Repo cloned, requirements installed, start script running 🚀"}
 
31
  def startup_event():
32
  threading.Thread(target=run_app).start()
33
 
34
+ @app.api_route("/", methods=["GET", "HEAD"])
35
  def home():
36
  return {"status": "Repo cloned, requirements installed, start script running 🚀"}