@learncard/learn-cloud-plugin 2.0.10 → 2.0.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15691,7 +15691,7 @@ var getLearnCloudPlugin = /* @__PURE__ */ __name(async (initialLearnCard, url, u
15691
15691
  const [lc, method, uriUrl] = parts;
15692
15692
  if (lc !== "lc" || method !== "cloud")
15693
15693
  return void 0;
15694
- if (uriUrl !== url) {
15694
+ if (uriUrl.replace(/https?/g, "") !== url.replace(/https?/g, "").replace(/:/g, "%3A")) {
15695
15695
  const fullUrl = uriUrl.startsWith("http") ? uriUrl : `http${uriUrl.includes("http") ? "" : "s"}://${uriUrl}`;
15696
15696
  const otherClient = await getOtherClient(fullUrl);
15697
15697
  try {