fix: Domain in payment redirect
All checks were successful
Build Docker / BuildImage (push) Successful in 39s

This commit is contained in:
Nathan Woodburn 2024-10-03 14:15:14 +10:00
parent bb03ec606b
commit 2600a46f72
Signed by: nathanwoodburn
GPG Key ID: 203B000478AD0EF1

View File

@ -117,7 +117,7 @@ def renew():
if req["data"]["owner_tx_data"]["address"] not in allowed_owners:
return redirect("/?error=not_anyone")
return redirect("https://pay.hns.au/p/renew?amount=10&data={domain}&redirect=https://renew.hns.au")
return redirect(f"https://pay.hns.au/p/renew?amount=10&data={domain}&redirect=https://renew.hns.au")
@app.route("/renew/<path:path>", methods=["POST"])
def renew_path(path: str):