Bluesky app fork with some witchin' additions 💫

Adding webp to regex list. Added function return type for consistency with the rest of the functions (#7649)

authored by

André Fernandes and committed by
GitHub
94339759 c3d732a7

+2 -2
+2 -2
src/lib/media/util.ts
··· 8 8 return Math.round((uri.length * 3) / 4) 9 9 } 10 10 11 - export function isUriImage(uri: string) { 12 - return /\.(jpg|jpeg|png).*$/.test(uri) 11 + export function isUriImage(uri: string): boolean { 12 + return /\.(jpg|jpeg|png|webp).*$/.test(uri) 13 13 } 14 14 15 15 export function blobToDataUri(blob: Blob): Promise<string> {