@next-core/brick-kit 2.188.2 → 2.188.4
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/index.bundle.js
CHANGED
|
@@ -706,16 +706,11 @@
|
|
|
706
706
|
suffix = getBasePath() + suffix;
|
|
707
707
|
}
|
|
708
708
|
if (window.APP_ID && window.APP_ID !== appId) {
|
|
709
|
-
return suffix.replace(new RegExp("
|
|
710
|
-
if (p1 === window.APP_ID) {
|
|
711
|
-
return "/".concat(appId, "/");
|
|
712
|
-
}
|
|
713
|
-
return "/".concat(version, "/");
|
|
714
|
-
});
|
|
709
|
+
return suffix.replace(new RegExp("(^|/)".concat(_.escapeRegExp(window.APP_ID), "/")), "$1".concat(appId, "/")).replace(/\/\d+\.\d+\.\d+\//, "/".concat(version, "/"));
|
|
715
710
|
}
|
|
716
711
|
return suffix;
|
|
717
712
|
};
|
|
718
|
-
return isBuildPush ? "".concat(getBasePath(), "api/gateway/object_store.object_store.GetObject/api/v1/objectStore/bucket/next-builder/object/").concat(name) : window.PUBLIC_DEPS ? "".concat(getSuffix(), "images/").concat(name) : "".concat(getSuffix(), "micro-apps/").concat(appId, "/images/").concat(name);
|
|
713
|
+
return isBuildPush ? "".concat(getBasePath(), "api/gateway/object_store.object_store.GetObject/api/v1/objectStore/bucket/next-builder/object/").concat(name) : window.BOOTSTRAP_UNION_FILE && window.PUBLIC_DEPS ? "".concat(getSuffix(), "images/").concat(name) : "".concat(getSuffix(), "micro-apps/").concat(appId, "/images/").concat(name);
|
|
719
714
|
}
|
|
720
715
|
};
|
|
721
716
|
}
|