mirror of
https://github.com/fmhy/edit.git
synced 2025-07-30 07:42:18 +10:00
feat: new og image
This commit is contained in:
parent
6f1b1f2e20
commit
5c6d4c3b41
6 changed files with 30 additions and 38 deletions
|
@ -102,12 +102,13 @@ async function generateImage({
|
|||
|
||||
// consola.info(url, title, description)
|
||||
const options: SatoriOptions = {
|
||||
width: 1200,
|
||||
height: 628,
|
||||
width: 1800,
|
||||
height: 900,
|
||||
fonts,
|
||||
props: {
|
||||
title,
|
||||
description
|
||||
description,
|
||||
image: 'https://i.fmhy.net/og-base.jpg'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue