mirror of
https://github.com/fmhy/edit.git
synced 2026-01-11 02:46:16 +00:00
feat: new og image
This commit is contained in:
@@ -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'
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user