lud16 onion support in iris.to
sybip opened this issue · 1 comments
sybip commented
Hi, posting this on behalf of a nostrich who doesn't have a github account.
On the web version of iris.to, when zapping a note by a user whose lightning address is an onion address, the LNURLP GET request is attempted over HTTPS, and typically fails with "lnurl error". This is inconsistent with LUD16 2nd paragraph, which specifies that requests to onion endpoints should be over HTTP.
Any clarifications, please speak with Max at npub1nu6fe9qul69lwdelsvrh0hpfnh339s3a39368w2059ezxzpp7wsscj9cyc
Thanks in advance for looking into this.
sybip commented
Probably around here:
iris-messenger/src/js/utils/LNURL.ts
Lines 39 to 41 in 07a8ac7