From 18952752c91403b23e6d8f1b2e8f7ffd4eaca2bc Mon Sep 17 00:00:00 2001 From: feruz Date: Mon, 16 Dec 2019 07:44:00 +0200 Subject: [PATCH] disable esteem image resizer --- src/utils/image.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/image.js b/src/utils/image.js index b3074341d..a9fb04675 100644 --- a/src/utils/image.js +++ b/src/utils/image.js @@ -74,7 +74,7 @@ export const getResizedImage = (url, size = 640) => { if (!url) { return ''; } - + /* if (url.includes('img.esteem.ws')) { return `${url.replace('img.esteem.ws/', `img.esteem.ws/${size}/`)}`; } @@ -82,7 +82,7 @@ export const getResizedImage = (url, size = 640) => { if (url.includes('img.esteem.app')) { return `${url.replace('img.esteem.app/', `img.esteem.app/${size}/`)}`; } - + */ return `https://steemitimages.com/${size}x0/${url}`; };