mirror of
https://github.com/genebean/dots.git
synced 2026-03-27 01:17:42 -04:00
Made .well-known for lnurlp
https://guides.getalby.com/user-guide/alby-account-and-browser-extension/alby-account/use-your-lightning-address/own-domain
This commit is contained in:
parent
5b5c1e9e8d
commit
87de4b19f9
1 changed files with 11 additions and 0 deletions
|
|
@ -38,6 +38,17 @@ in {
|
||||||
"/" = {
|
"/" = {
|
||||||
return = "301 https://beanbag.technicalissues.us";
|
return = "301 https://beanbag.technicalissues.us";
|
||||||
};
|
};
|
||||||
|
"/.well-known/lnurlp/genebean" = {
|
||||||
|
return = ''
|
||||||
|
200 '{"status":"OK","tag":"payRequest","commentAllowed":255,"callback":"https://getalby.com/lnurlp/genebean/callback","metadata":"[[\\"text/identifier\\",\\"genebean@getalby.com\\"],[\\"text/plain\\",\\"Sats for GeneBean\\"]]","minSendable":1000,"maxSendable":150000000,"payerData":{"name":{"mandatory":false},"email":{"mandatory":false},"pubkey":{"mandatory":false}},"nostrPubkey":"79f00d3f5a19ec806189fcab03c1be4ff81d18ee4f653c88fac41fe03570f432","allowsNostr":true}'
|
||||||
|
'';
|
||||||
|
extraConfig = ''
|
||||||
|
default_type application/json;
|
||||||
|
source_charset utf-8;
|
||||||
|
charset utf-8;
|
||||||
|
add_header Access-Control-Allow-Origin *;
|
||||||
|
'';
|
||||||
|
};
|
||||||
"/.well-known/matrix/client" = {
|
"/.well-known/matrix/client" = {
|
||||||
return = ''
|
return = ''
|
||||||
200 '{"m.homeserver": {"base_url": "https://matrix.technicalissues.us"}}'
|
200 '{"m.homeserver": {"base_url": "https://matrix.technicalissues.us"}}'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue