Skip to content

Commit

Permalink
Merge pull request #469 from onc-healthit/LANTERN-782-curemdwebscrape…
Browse files Browse the repository at this point in the history
…r-fix

LANTERN-782: Removed the sandbox FHIR endpoint from the CuremdWebscraper implementation
  • Loading branch information
vishnu-mettles authored Dec 19, 2024
2 parents aa69825 + bccb143 commit 860d224
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 860d224

Please sign in to comment.