allow protocol, port & path in fallback urls
This commit is contained in:
		
							parent
							
								
									ae5e1e6d29
								
							
						
					
					
						commit
						85935d8f90
					
				| @ -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, | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user