Added octet stream type expectation to Bang profile avatar.
This commit is contained in:
@@ -41,7 +41,12 @@ function getAvatarFallback(url) {
|
||||
return [
|
||||
`${origin}${pathname}`,
|
||||
url,
|
||||
];
|
||||
].map((src) => ({
|
||||
src,
|
||||
expectType: {
|
||||
'application/octet-stream': 'image/jpeg',
|
||||
},
|
||||
}));
|
||||
} catch (_error) {
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user