mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
Rewrite images to proxy in preview frames.
This commit is contained in:
parent
bdebb2f16b
commit
57173dc426
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ public class CollectionUtils {
|
||||||
|
|
||||||
final List<PreviewFrames> previewFrames = new ObjectArrayList<>();
|
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.getFrameHeight(), frame.getTotalCount(), frame.getDurationPerFrame(), frame.getFramesPerPageX(),
|
||||||
frame.getFramesPerPageY())));
|
frame.getFramesPerPageY())));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue