Spaces:
Runtime error
Runtime error
fix startup order
Browse files- 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")
|