Skip to content

Commit b7d1ff1

Browse files
author
a.stupnytskyi
committed
Add healthcheck endpoint
1 parent 264b8eb commit b7d1ff1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

binance_trade_bot/api_server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def pairs():
146146

147147
@app.route("/api/healthcheck")
148148
def healthcheck():
149-
return True
149+
return jsonify({"status": "ok"})
150150

151151

152152
@socketio.on("update", namespace="/backend")

0 commit comments

Comments
 (0)