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