fix image proxy url

This commit is contained in:
feruz 2020-07-17 17:47:08 +03:00
parent eb78b0957c
commit 67e256fff9

View File

@ -85,7 +85,7 @@ export const getResizedImage = (url, size = 640) => {
return `${url.replace('img.esteem.app/', `img.esteem.app/${size}/`)}`;
}
*/
return `https://images.ecency.app/${size}x0/${url}`;
return `https://images.ecency.com/${size}x0/${url}`;
};
export const getResizedAvatar = (author, sizeString = 'large') => {
@ -93,5 +93,5 @@ export const getResizedAvatar = (author, sizeString = 'large') => {
return '';
}
return `https://images.ecency.app/u/${author}/avatar/${sizeString}`;
return `https://images.ecency.com/u/${author}/avatar/${sizeString}`;
};