@gallop.software/studio 2.3.172 → 2.3.173

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.
@@ -1593,7 +1593,7 @@ async function handleUnprocessStream(request) {
1593
1593
  }
1594
1594
  const existingCdnIndex = entry.c;
1595
1595
  const existingCdnUrl = existingCdnIndex !== void 0 ? cdnUrls[existingCdnIndex] : void 0;
1596
- const isInOurR2 = existingCdnUrl === publicUrl;
1596
+ const isInOurR2 = publicUrl !== void 0 && existingCdnUrl === publicUrl;
1597
1597
  await deleteLocalThumbnails(imageKey);
1598
1598
  if (isInOurR2) {
1599
1599
  await deleteThumbnailsFromCdn(imageKey);
@@ -1717,7 +1717,7 @@ async function handleReprocessStream(request) {
1717
1717
  const entry = getMetaEntry(meta, imageKey);
1718
1718
  const existingCdnIndex = entry?.c;
1719
1719
  const existingCdnUrl = existingCdnIndex !== void 0 ? cdnUrls[existingCdnIndex] : void 0;
1720
- const isInOurR2 = existingCdnUrl === publicUrl;
1720
+ const isInOurR2 = publicUrl !== void 0 && existingCdnUrl === publicUrl;
1721
1721
  const isRemote = existingCdnIndex !== void 0 && !isInOurR2;
1722
1722
  const originalPath = getPublicPath(imageKey);
1723
1723
  try {