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