@social-mail/social-mail-client 1.1.10 → 1.1.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.
@@ -29922,7 +29922,7 @@ System.register(["tslib", "@web-atoms/web-controls/dist/mobile-app/MobileApp", "
29922
29922
  icon: "fas fa-download",
29923
29923
  text: "Download"
29924
29924
  })));
29925
- const webp = `/api/files/webp/${appFileID}/${fileContentID}/${name}/${name}.webp`;
29925
+ const webp = /\.(jpg|png|jpeg|bmp)/i.test(name) ? `/api/files/download/${appFileID}/${fileContentID}/${name}` : `/api/files/webp/${appFileID}/${fileContentID}/${name}/${name}.webp`;
29926
29926
  this.renderer = XNode.create("div", {
29927
29927
  "data-display": "grid",
29928
29928
  "data-align-items": "stretch"