From bccb143c91eefae2e9b56f2f170a58b23981a835 Mon Sep 17 00:00:00 2001 From: rishi-salunkhe-mettle Date: Thu, 19 Dec 2024 15:41:41 -0600 Subject: [PATCH] Removed the sandbox FHIR endpoint from the CuremdWebscraper implementation --- endpointmanager/pkg/chplendpointquerier/curemdwebscraper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/endpointmanager/pkg/chplendpointquerier/curemdwebscraper.go b/endpointmanager/pkg/chplendpointquerier/curemdwebscraper.go index f83b3e3b9..833959f8e 100644 --- a/endpointmanager/pkg/chplendpointquerier/curemdwebscraper.go +++ b/endpointmanager/pkg/chplendpointquerier/curemdwebscraper.go @@ -27,7 +27,7 @@ func CuremdWebscraper(CHPLURL string, fileToWriteTo string) { pTag.Find("a").Each(func(i int, link *goquery.Selection) { url, exists := link.Attr("href") url = strings.TrimSuffix(url, "/metadata") - if exists { + if exists && !strings.Contains(url, "sandbox") { entry.URL = url lanternEntryList = append(lanternEntryList, entry) }