mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-22 21:01:31 +03:00
disable esteem image resizer
This commit is contained in:
parent
1d80940bf4
commit
18952752c9
@ -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}`;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user