remove https specification so that this setting can be used with docker which requires http for internal comms

This commit is contained in:
Rob Clarkson 2023-02-21 15:53:11 +13:00
parent 96372f0e90
commit d79d6eb0ba

View file

@ -32,7 +32,7 @@ type LndhubPayInvoiceRequest struct {
func lndhub_payment(w http.ResponseWriter, p *db.Payment, bolt11 decodepay.Bolt11, param_pr string) {
//get setting for LNDHUB_URL
lndhub_url := "https://" + db.Get_setting("LNDHUB_URL")
lndhub_url := db.Get_setting("LNDHUB_URL")
//get lndhub login details from database
c, err := db.Get_card_from_card_id(p.Card_id)