fix: use auto=format qs for unbody images

This commit is contained in:
Hossein Mehrabi 2023-08-31 17:34:21 +03:30
parent e475cbe219
commit bceb18861d
No known key found for this signature in database
GPG Key ID: 45C04964191AFAA1
1 changed files with 1 additions and 1 deletions

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,