fix: use auto=format qs for unbody images

This commit is contained in:
Hossein Mehrabi 2023-08-31 17:34:21 +03:30
parent 77af0ca56f
commit 32f8035d6f
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1

View File

@ -16,7 +16,7 @@ export type Props = {
} & ResponsiveImageProps
const unbodyImageLoader: ImageLoader = ({ src, width, quality }) =>
`${src}?w=${width}&q=${quality || 75}`
`${src}?w=${width}&q=${quality || 75}&auto=format`
export const ResponsiveImage = ({
data,