From a395115f1805cc265cf0a3b7d1a5bf55e2cb9a6b Mon Sep 17 00:00:00 2001 From: FireMasterK <20838718+FireMasterK@users.noreply.github.com> Date: Wed, 25 Nov 2020 12:11:06 +0530 Subject: [PATCH] Fixed images not being proxied. --- src/main/java/me/kavin/piped/utils/ResponseHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/me/kavin/piped/utils/ResponseHelper.java b/src/main/java/me/kavin/piped/utils/ResponseHelper.java index 3e719f3..ea6a05d 100644 --- a/src/main/java/me/kavin/piped/utils/ResponseHelper.java +++ b/src/main/java/me/kavin/piped/utils/ResponseHelper.java @@ -147,8 +147,8 @@ public class ResponseHelper { String nextpage = info.hasNextPage() ? info.getNextPage().getUrl() : null; - final Channel channel = new Channel(info.getName(), info.getAvatarUrl(), info.getBannerUrl(), - info.getDescription(), nextpage, relatedStreams); + final Channel channel = new Channel(info.getName(), rewriteURL(info.getAvatarUrl()), + rewriteURL(info.getBannerUrl()), info.getDescription(), nextpage, relatedStreams); return Constants.mapper.writeValueAsString(channel);