@bytebrand/export-cars 1.26.6 → 1.26.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bytebrand/export-cars",
3
- "version": "1.26.6",
3
+ "version": "1.26.7",
4
4
  "description": "",
5
5
  "author": "bytebrand",
6
6
  "license": "UNLICENSED",
@@ -189,12 +189,13 @@ export class ImagesService {
189
189
  return ignoreDefImages ? [] : [...this.DEFAULT_IMAGES];
190
190
  }
191
191
 
192
- // marketingImageUrl (config.ts environmentConfig[env].imageUrl) points at /cache_test on
193
- // dev — a leftover from the old "fb" channel, not where image-generator publishes meta_aia
194
- // composites (always under /generated_images on both dev and prod). Build the meta_aia base
195
- // from the plain image host instead of trusting that per-env path.
192
+ // marketingImageUrl AND config.imageUrl (FbConfig overrides the latter to the same
193
+ // per-env value right after super()) both point at the old "fb" channel's base path
194
+ // (/cache_test on dev, already /generated_images on prod) — not where image-generator
195
+ // publishes meta_aia composites. baseImageUrl is the one field neither Config nor FbConfig
196
+ // ever suffixes with a path, so it's the only safe base to build /generated_images on.
196
197
  const imageUrl = config.channelCode === 'meta_aia'
197
- ? `${this.configService.config.imageUrl}/generated_images`
198
+ ? `${this.configService.config.baseImageUrl}/generated_images`
198
199
  : this.configService.config.marketingImageUrl;
199
200
 
200
201
  const marketingImageConfigs = config.marketingImages.map(i => ({ marketingImageCodes: i.imageCodes }));