mirror of
				https://github.com/TeamPiped/Piped-Backend.git
				synced 2024-08-14 23:51:41 +00:00 
			
		
		
		
	Remove rewriting of thumbnails URLs.
They already use WEBP.
This commit is contained in:
		
							parent
							
								
									0d76c7437e
								
							
						
					
					
						commit
						8cfa00d5bb
					
				
					 1 changed files with 0 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -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…
	
	Add table
		Add a link
		
	
		Reference in a new issue