mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-29 00:21:41 +03:00
fix image proxy url
This commit is contained in:
parent
eb78b0957c
commit
67e256fff9
@ -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}`;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user