From f33d922ca9113d1f46e3c4a275aca63def92dd8a Mon Sep 17 00:00:00 2001 From: Natanael Rodriguez Ramos Date: Tue, 1 Oct 2024 12:15:13 +0100 Subject: [PATCH] Added lnurlp URL --- nginx.conf | 5 +++++ src/static/.well-known/lnurlp | 1 + 2 files changed, 6 insertions(+) create mode 100644 src/static/.well-known/lnurlp diff --git a/nginx.conf b/nginx.conf index 4c5902d1..7c440cbb 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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 ~ ^/ { diff --git a/src/static/.well-known/lnurlp b/src/static/.well-known/lnurlp new file mode 100644 index 00000000..09626ea5 --- /dev/null +++ b/src/static/.well-known/lnurlp @@ -0,0 +1 @@ +{"status":"OK","tag":"payRequest","commentAllowed":255,"callback":"https://getalby.com/lnurlp/ivpn/callback","metadata":"[[\"text/identifier\",\"ivpn@getalby.com\"],[\"text/plain\",\"Sats for ivpn\"]]","minSendable":1000,"maxSendable":10000000000,"payerData":{"name":{"mandatory":false},"email":{"mandatory":false},"pubkey":{"mandatory":false}},"nostrPubkey":"79f00d3f5a19ec806189fcab03c1be4ff81d18ee4f653c88fac41fe03570f432","allowsNostr":true} \ No newline at end of file