mirror of
https://github.com/TeamPiped/Piped-Backend
synced 2025-09-04 04:21:20 +02:00
Remove rewriting of thumbnails URLs.
They already use WEBP.
This commit is contained in:
parent
0d76c7437e
commit
8cfa00d5bb
@ -416,13 +416,6 @@ public class ResponseHelper {
|
||||
|
||||
path = path.replace("-rj", "-rw");
|
||||
|
||||
if (path.startsWith("/vi/") && !path.contains("_live")) {
|
||||
path = path.replace("/vi/", "/vi_webp/").replace(".jpg", ".webp").replace("hq720", "mqdefault")
|
||||
.replace("hqdefault", "mqdefault");
|
||||
|
||||
hasQuery = false;
|
||||
}
|
||||
|
||||
return Constants.PROXY_PART + path + (hasQuery ? "?" + query + "&host=" : "?host=")
|
||||
+ URLUtils.silentEncode(host);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user