Merge pull request #36 from boltcard/update-lndhub-url
Use host domain from settings
This commit is contained in:
commit
17627b25de
1 changed files with 1 additions and 1 deletions
|
|
@ -55,7 +55,7 @@ func new_card_request(w http.ResponseWriter, req *http.Request) {
|
|||
|
||||
a := params_a[0]
|
||||
|
||||
lnurlw_base := "lnurlw://" + req.Host + "/ln"
|
||||
lnurlw_base := "lnurlw://" + db.Get_setting("HOST_DOMAIN") + "/ln"
|
||||
|
||||
c, err := db.Get_new_card(a)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue