@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.
@@ -738,9 +738,7 @@
738
738
  function imagesFactory(appId, isBuildPush) {
739
739
  return {
740
740
  get(name) {
741
- var _window$PUBLIC_ROOT;
742
-
743
- 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);
741
+ 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);
744
742
  }
745
743
 
746
744
  };
@@ -748,9 +746,9 @@
748
746
  function widgetImagesFactory(widgetId) {
749
747
  return {
750
748
  get(name) {
751
- var _window$PUBLIC_ROOT2;
749
+ var _window$PUBLIC_ROOT;
752
750
 
753
- return "".concat((_window$PUBLIC_ROOT2 = window.PUBLIC_ROOT) !== null && _window$PUBLIC_ROOT2 !== void 0 ? _window$PUBLIC_ROOT2 : "", "bricks/").concat(widgetId, "/dist/assets/").concat(name);
751
+ return "".concat((_window$PUBLIC_ROOT = window.PUBLIC_ROOT) !== null && _window$PUBLIC_ROOT !== void 0 ? _window$PUBLIC_ROOT : "", "bricks/").concat(widgetId, "/dist/assets/").concat(name);
754
752
  }
755
753
 
756
754
  };