remove https specification so that this setting can be used with docker which requires http for internal comms
This commit is contained in:
parent
96372f0e90
commit
d79d6eb0ba
1 changed files with 1 additions and 1 deletions
|
|
@ -32,7 +32,7 @@ type LndhubPayInvoiceRequest struct {
|
||||||
func lndhub_payment(w http.ResponseWriter, p *db.Payment, bolt11 decodepay.Bolt11, param_pr string) {
|
func lndhub_payment(w http.ResponseWriter, p *db.Payment, bolt11 decodepay.Bolt11, param_pr string) {
|
||||||
|
|
||||||
//get setting for LNDHUB_URL
|
//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
|
//get lndhub login details from database
|
||||||
c, err := db.Get_card_from_card_id(p.Card_id)
|
c, err := db.Get_card_from_card_id(p.Card_id)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue