Skip to content

Commit

Permalink
Added lnurlp URL
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanael Rodriguez Ramos authored and Natanael Rodriguez Ramos committed Oct 1, 2024
1 parent 66f79a2 commit f33d922
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ server {
add_header Content-Type application/json;
}

location ~ ^/.well-known/lnurlp {
add_header Access-Control-Allow-Origin *;
add_header Content-Type application/json;
}

# This will try to load index.html file if
# requested without a trailing slash
location ~ ^/ {
Expand Down
1 change: 1 addition & 0 deletions src/static/.well-known/lnurlp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"status":"OK","tag":"payRequest","commentAllowed":255,"callback":"https://getalby.com/lnurlp/ivpn/callback","metadata":"[[\"text/identifier\",\"[email protected]\"],[\"text/plain\",\"Sats for ivpn\"]]","minSendable":1000,"maxSendable":10000000000,"payerData":{"name":{"mandatory":false},"email":{"mandatory":false},"pubkey":{"mandatory":false}},"nostrPubkey":"79f00d3f5a19ec806189fcab03c1be4ff81d18ee4f653c88fac41fe03570f432","allowsNostr":true}

0 comments on commit f33d922

Please sign in to comment.