spidey121 commited on
Commit
3e66129
·
1 Parent(s): eac1ebf

fix startup order

Browse files
Files changed (1) hide show
  1. env/fake_server.py +1 -1
env/fake_server.py CHANGED
@@ -115,7 +115,7 @@ def reset():
115
 
116
  # ---------------- Step API (IMPORTANT) ----------------
117
 
118
- @app.route("/step", methods=["POST"])
119
  def step():
120
 
121
  action = request.json.get("action")
 
115
 
116
  # ---------------- Step API (IMPORTANT) ----------------
117
 
118
+ @app.route("/step", methods=["GET","POST"])
119
  def step():
120
 
121
  action = request.json.get("action")