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