@learncard/learn-cloud-plugin 2.0.11 → 2.0.12
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.
- package/dist/learn-cloud-plugin.cjs.development.js +1 -1
- package/dist/learn-cloud-plugin.cjs.development.js.map +2 -2
- package/dist/learn-cloud-plugin.cjs.production.min.js +1 -1
- package/dist/learn-cloud-plugin.cjs.production.min.js.map +2 -2
- package/dist/learn-cloud-plugin.esm.js +1 -1
- package/dist/learn-cloud-plugin.esm.js.map +2 -2
- package/package.json +3 -3
|
@@ -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.replace(/https
|
|
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 {
|