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