allow protocol, port & path in fallback urls

This commit is contained in:
Mononaut 2023-08-05 20:06:19 +09:00
parent ae5e1e6d29
commit 85935d8f90
No known key found for this signature in database
GPG Key ID: A3F058E41374C04E

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,