openxiangda 1.0.154 → 1.0.156

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.
@@ -4503,7 +4503,8 @@ var useFilePreviewController = ({
4503
4503
  );
4504
4504
  url = typeof ticket === "string" ? ticket : ticket?.downloadUrl || ticket?.relayUrl || ticket?.url || url;
4505
4505
  }
4506
- if (url && typeof window !== "undefined") window.location.assign(url);
4506
+ const resolvedUrl = resolvePreviewServiceUrl(url);
4507
+ if (resolvedUrl && typeof window !== "undefined") window.location.assign(resolvedUrl);
4507
4508
  },
4508
4509
  [api, bucketName]
4509
4510
  );