AnyaXZero commited on
Commit
db727dc
·
verified ·
1 Parent(s): 6b758b0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -38,6 +38,6 @@ def run_app():
38
  def startup_event():
39
  threading.Thread(target=run_app).start()
40
 
41
- @app.get("/")
42
  def home():
43
  return {"status": "Repo cloned, env setup, requirements installed, script running 🚀"}
 
38
  def startup_event():
39
  threading.Thread(target=run_app).start()
40
 
41
+ @app.api_route("/", methods=["GET", "HEAD"])
42
  def home():
43
  return {"status": "Repo cloned, env setup, requirements installed, script running 🚀"}