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) {