mirror of
https://github.com/mempool/mempool.git
synced 2024-12-28 01:04:28 +01:00
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}"`;
|
||||
}
|
||||
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…
Reference in New Issue
Block a user