Closed huumn closed 1 month ago
We should be able to use the same code from #1136 and #1165 for LNbits.
Before reusing the code, it should be wrapped in a single agent that encapsulates the decision making between Tor agents vs clearnet agent.
Mhh, connecting to LNbits happens on the client so the proxy code from #1136 and #1165 is not what we need here. According to the comment, the browser the stacker is using is able to connect to .onion sites in some way. Seems like forcing HTTPS is the only issue here? I'll add some code to detect if .onion is used and then default to HTTP.
This isn't working according this: https://stacker.news/items/537831/r/k00b?commentId=538356