From e2226bf1316764e87335f7aa4fc4e3da31c6289c Mon Sep 17 00:00:00 2001 From: Camille Moinier Date: Thu, 25 Apr 2024 11:44:40 +0200 Subject: [PATCH] fix: remove hard coded url --- .../src/lib/record-api-form/record-api-form.component.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts b/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts index cac209d458..96f8f375ff 100644 --- a/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts +++ b/libs/ui/elements/src/lib/record-api-form/record-api-form.component.ts @@ -78,9 +78,7 @@ export class RecordApiFormComponent { ? this.apiBaseUrl.slice(0, -1) : this.apiBaseUrl - this.getOutputFormats( - 'https://demo.ldproxy.net/zoomstack/collections/airports/items' - ).then((outputFormats) => { + this.getOutputFormats(apiUrl).then((outputFormats) => { const formatsList = outputFormats.itemFormats.map((format) => { const normalizedFormat = mimeTypeToFormat(format) if (normalizedFormat) {