generated from nathanwoodburn/python-webserver-template
fix: Domain in payment redirect
All checks were successful
Build Docker / BuildImage (push) Successful in 39s
All checks were successful
Build Docker / BuildImage (push) Successful in 39s
This commit is contained in:
parent
bb03ec606b
commit
2600a46f72
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user