Skip to content

Commit ba509ed

Browse files
committed
Fix Flask health endpoint collision
1 parent a6647da commit ba509ed

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

main.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def _run_strategy_cycle_with_report(
357357

358358

359359
@app.get("/")
360-
def health():
360+
def service_info():
361361
return jsonify(
362362
{
363363
"service": "firstrade-platform",

0 commit comments

Comments
 (0)