Reason for utilising clearnet address instead of OnionV3 address
Created by: Technifocal
As per @samouraidev's suggestion on Telegram, I am posting this question here:
In the function computeServerUrl() you always return the clearnet server URL defined here.
As the code to detect Tor and return the Tor hidden service is specifically commented out, I'm wondering what the reason for not using the Tor V3 address is? Especially as the Tor hidden service is up and running:
$ torify curl 'udkmfc5j6zvv3ysavbrwzhwji4hpyfe3apqa6yst7c7l32mygf65g4ad.onion/rest/pools'
{"pools":[...]}
Thanks.