@learncard/learn-cloud-plugin 2.0.10 → 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
|
@@ -15704,7 +15704,7 @@ var getLearnCloudPlugin = /* @__PURE__ */ __name(async (initialLearnCard, url, u
|
|
|
15704
15704
|
const [lc, method, uriUrl] = parts;
|
|
15705
15705
|
if (lc !== "lc" || method !== "cloud")
|
|
15706
15706
|
return void 0;
|
|
15707
|
-
if (uriUrl !== url) {
|
|
15707
|
+
if (uriUrl.replace(/https?:\/\//g, "") !== url.replace(/https?:\\/g, "").replace(/:/g, "%3A")) {
|
|
15708
15708
|
const fullUrl = uriUrl.startsWith("http") ? uriUrl : `http${uriUrl.includes("http") ? "" : "s"}://${uriUrl}`;
|
|
15709
15709
|
const otherClient = await getOtherClient(fullUrl);
|
|
15710
15710
|
try {
|