allow protocol, port & path in fallback urls

This commit is contained in:
Mononaut 2023-08-05 20:06:19 +09:00
parent 8bc519bed4
commit c8012e123b

View File

@ -32,7 +32,7 @@ class FailoverRouter {
// setup list of hosts
this.hosts = (config.ESPLORA.FALLBACK || []).map(domain => {
return {
host: 'https://' + domain + '/api',
host: domain,
rtts: [],
rtt: Infinity,
failures: 0,