Added octet stream type expectation to Bang profile avatar.

This commit is contained in:
DebaucheryLibrarian
2026-02-22 03:36:19 +01:00
parent 0092aab579
commit 570be66a91

View File

@@ -41,7 +41,12 @@ function getAvatarFallback(url) {
return [ return [
`${origin}${pathname}`, `${origin}${pathname}`,
url, url,
]; ].map((src) => ({
src,
expectType: {
'application/octet-stream': 'image/jpeg',
},
}));
} catch (_error) { } catch (_error) {
return null; return null;
} }