@xibosignage/xibo-layout-renderer 1.0.10 → 1.0.11

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.
@@ -849,7 +849,9 @@ var XiboLayoutRenderer = (function (exports) {
849
849
  function composeBgUrlByPlatform(platform, params) {
850
850
  var bgImageUrl = params.layoutBackgroundDownloadUrl.replace(":id", params.layout.id) + '?preview=1&width=' + params.layout.sWidth + '&height=' + params.layout.sHeight + '&dynamic&proportional=0';
851
851
  if (platform === 'chromeOS') {
852
- bgImageUrl = '/required-files/resource/' + params.layout.id + '?saveAs=' + params.layout.bgImage;
852
+ bgImageUrl = composeMediaUrl({
853
+ uri: params.layout.bgImage
854
+ });
853
855
  }
854
856
  return bgImageUrl;
855
857
  }