Fixed images not being proxied.

This commit is contained in:
FireMasterK 2020-11-25 12:11:06 +05:30
parent 9527ad4133
commit a395115f18
No known key found for this signature in database
GPG key ID: 8DFF5DD33E93DB58

View file

@ -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);