diff --git a/frontend/src/app/components/api-docs/api-docs.component.html b/frontend/src/app/components/api-docs/api-docs.component.html index 441ce1838..5d3d4a076 100644 --- a/frontend/src/app/components/api-docs/api-docs.component.html +++ b/frontend/src/app/components/api-docs/api-docs.component.html @@ -698,7 +698,7 @@
- GET {{ baseNetworkUrl }}/api/tx/:txid + GET {{ baseNetworkUrl }}/api/tx/:txid
Description
diff --git a/frontend/src/app/components/api-docs/api-docs.component.ts b/frontend/src/app/components/api-docs/api-docs.component.ts index 37b0244c0..ce5f9ff13 100644 --- a/frontend/src/app/components/api-docs/api-docs.component.ts +++ b/frontend/src/app/components/api-docs/api-docs.component.ts @@ -40,18 +40,6 @@ export class ApiDocsComponent implements OnInit { this.hostname = `${document.location.protocol}//${this.hostname}`; - if (document.location.hostname === 'localhost') { - if (this.env.BASE_MODULE === 'bisq') { - this.hostname = `https://bisq.markets`; - } - if (this.env.BASE_MODULE === 'liquid') { - this.hostname = `https://liquid.network`; - } - if (this.env.BASE_MODULE === 'mempool') { - this.hostname = `https://mempool.space`; - } - } - this.code = { address: { codeTemplate: { @@ -2063,7 +2051,7 @@ export class ApiDocsComponent implements OnInit { }, transactionCpfp: { codeTemplate: { - curl: `/api/fees/cpfp/%{1}`, + curl: `/api/v1/cpfp/%{1}`, commonJS: ` const { %{0}: { fees } } = mempoolJS();