From ac21c475406e30a99e82e93ec33dd7ca22dfe490 Mon Sep 17 00:00:00 2001 From: hunicus <93150691+hunicus@users.noreply.github.com> Date: Tue, 8 Feb 2022 17:51:19 -0500 Subject: [PATCH] Fix url for mempool post endpoint --- frontend/src/app/components/docs/code-template.component.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/frontend/src/app/components/docs/code-template.component.ts b/frontend/src/app/components/docs/code-template.component.ts index 63699305a..8cfa44cdc 100644 --- a/frontend/src/app/components/docs/code-template.component.ts +++ b/frontend/src/app/components/docs/code-template.component.ts @@ -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}"`;