gnunet-gns-registrar

GNU Name System registrar
Log | Files | Refs | README

commit 43475d79eca8b4ae392374e09e58b16397d80c78
parent 295a6eb24c49fdef8c2b0142b5a0855650c171ca
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date:   Sat,  9 Dec 2023 21:12:37 +0100

Fix fulfillment Url

Diffstat:
Mpkg/rest/gnsregistrar.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pkg/rest/gnsregistrar.go b/pkg/rest/gnsregistrar.go @@ -345,7 +345,7 @@ func (t *Registrar) buyPage(w http.ResponseWriter, r *http.Request) { http.Redirect(w, r, "/name/"+vars["label"] + "?error=Registration failed: Pending buy order", http.StatusSeeOther) return } - orderID, newOrderErr := t.Merchant.AddNewOrder(*t.RegistrationCost, "GNS registrar name registration", "/name/" + vars["label"]) + orderID, newOrderErr := t.Merchant.AddNewOrder(*t.RegistrationCost, "GNS registrar name registration", t.BaseUrl + "/name/" + vars["label"]) if newOrderErr != nil { fmt.Println(newOrderErr) http.Redirect(w, r, "/name/"+vars["label"] + "?error=Registration failed: Unable to create order", http.StatusSeeOther)