From cc64eb7fea0a5d06e7447d4d4bce26ad90dc77cb Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Tue, 22 Sep 2020 22:02:01 +1000 Subject: [PATCH] fix bad package URLs as they are loaded --- .../src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java index b87b60818..f32ef1380 100644 --- a/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java +++ b/org.hl7.fhir.utilities/src/main/java/org/hl7/fhir/utilities/cache/NpmPackage.java @@ -814,7 +814,7 @@ public class NpmPackage { public String getWebLocation() { if (npm.has("url")) { - return npm.get("url").getAsString(); + return PackageHacker.fixPackageUrl(npm.get("url").getAsString()); } else { return JSONUtil.str(npm, "canonical"); }