Fix url for mempool post endpoint
This commit is contained in:
		
							parent
							
								
									bb6a22192c
								
							
						
					
					
						commit
						ac21c47540
					
				| @ -302,7 +302,6 @@ yarn add @mempool/liquid.js`; | |||||||
|         return `curl -sSL "${this.hostname}${text}"`; |         return `curl -sSL "${this.hostname}${text}"`; | ||||||
|       } |       } | ||||||
|       if (this.method === 'POST') { |       if (this.method === 'POST') { | ||||||
|         text = text.replace('/api', `/${this.network}/api`); |  | ||||||
|         return `curl -X POST -sSLd "${text}"`; |         return `curl -X POST -sSLd "${text}"`; | ||||||
|       } |       } | ||||||
|       return `curl -sSL "${this.hostname}/${this.network}${text}"`; |       return `curl -sSL "${this.hostname}/${this.network}${text}"`; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user