fix: Replace actions.json in the main server.py
All checks were successful
Build Docker / BuildImage (push) Successful in 1m0s

This commit is contained in:
2025-10-30 19:58:29 +11:00
parent 7b2b3659bb
commit 776b7de753
2 changed files with 20 additions and 23 deletions

View File

@@ -122,10 +122,4 @@ def sol_donate_post(amount):
return jsonify({"message": "Error: Amount too small"}), 400, SOLANA_HEADERS
transaction = create_transaction(sender, amount)
return jsonify({"message": "Success", "transaction": transaction}), 200, SOLANA_HEADERS
@app.route("/actions.json")
def sol_actions():
return jsonify(
{"rules": [{"pathPattern": "/donate**", "apiPath": "/api/v1/donate**"}]}
)
return jsonify({"message": "Success", "transaction": transaction}), 200, SOLANA_HEADERS