allow protocol, port & path in fallback urls

This commit is contained in:
Mononaut committed 2023-08-05 20:06:19 +09:00
1 parent ae5e1e6d29
commit 85935d8f90
1 file changed
+1 -1
+1 -1
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,