Skip to content

Commit 7cb722e

Browse files
committedNov 28, 2023
feat: generate jpeg screenshots by default
1 parent 98cd0e0 commit 7cb722e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎src/runtime/composables/defineOgImage.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ export function defineOgImageScreenshot(options: OgImageScreenshotOptions = {})
1010
const route = router.currentRoute.value?.path || ''
1111
return defineOgImage({
1212
alt: `Web page screenshot${route ? ` of ${route}` : ''}.`,
13-
provider: 'browser',
13+
renderer: 'chromium',
14+
extension: 'jpeg',
1415
component: 'PageScreenshot', // this is an alias
1516
cache: true,
1617
...options,

0 commit comments

Comments
 (0)
Please sign in to comment.