fix: Remove strict slashes from index routes
All checks were successful
Build Docker / BuildImage (push) Successful in 48s

This commit is contained in:
2025-10-30 19:50:03 +11:00
parent 872373dffd
commit 7b2b3659bb
8 changed files with 15 additions and 16 deletions

View File

@@ -122,4 +122,10 @@ 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
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**"}]}
)