Rewrite images to proxy in preview frames.

This commit is contained in:
Kavin 2022-12-15 17:55:15 +00:00
parent bdebb2f16b
commit 57173dc426
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -24,7 +24,7 @@ public class CollectionUtils {
final List<PreviewFrames> previewFrames = new ObjectArrayList<>();
info.getPreviewFrames().forEach(frame -> previewFrames.add(new PreviewFrames(frame.getUrls(), frame.getFrameWidth(),
info.getPreviewFrames().forEach(frame -> previewFrames.add(new PreviewFrames(frame.getUrls().stream().map(URLUtils::rewriteURL).toList(), frame.getFrameWidth(),
frame.getFrameHeight(), frame.getTotalCount(), frame.getDurationPerFrame(), frame.getFramesPerPageX(),
frame.getFramesPerPageY())));