Merge pull request #36 from boltcard/update-lndhub-url

Use host domain from settings
This commit is contained in:
Peter Rounce 2023-02-22 02:44:11 +00:00 committed by GitHub
commit 17627b25de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)