@next-core/brick-kit 2.153.7 → 2.153.9
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.esm.js
CHANGED
|
@@ -739,9 +739,7 @@ function getUrlBySegueFactory(app, segues) {
|
|
|
739
739
|
function imagesFactory(appId, isBuildPush) {
|
|
740
740
|
return {
|
|
741
741
|
get(name) {
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
return isBuildPush ? "api/gateway/object_store.object_store.GetObject/api/v1/objectStore/bucket/next-builder/object/".concat(name) : "".concat((_window$PUBLIC_ROOT = window.PUBLIC_ROOT) !== null && _window$PUBLIC_ROOT !== void 0 ? _window$PUBLIC_ROOT : "", "micro-apps/").concat(appId, "/images/").concat(name);
|
|
742
|
+
return isBuildPush ? "api/gateway/object_store.object_store.GetObject/api/v1/objectStore/bucket/next-builder/object/".concat(name) : "".concat(window.APP_ROOT ? "".concat(window.APP_ROOT, "-/") : "", "micro-apps/").concat(appId, "/images/").concat(name);
|
|
745
743
|
}
|
|
746
744
|
|
|
747
745
|
};
|
|
@@ -749,9 +747,9 @@ function imagesFactory(appId, isBuildPush) {
|
|
|
749
747
|
function widgetImagesFactory(widgetId) {
|
|
750
748
|
return {
|
|
751
749
|
get(name) {
|
|
752
|
-
var _window$
|
|
750
|
+
var _window$PUBLIC_ROOT;
|
|
753
751
|
|
|
754
|
-
return "".concat((_window$
|
|
752
|
+
return "".concat((_window$PUBLIC_ROOT = window.PUBLIC_ROOT) !== null && _window$PUBLIC_ROOT !== void 0 ? _window$PUBLIC_ROOT : "", "bricks/").concat(widgetId, "/dist/assets/").concat(name);
|
|
755
753
|
}
|
|
756
754
|
|
|
757
755
|
};
|