diff --git a/image/main.ts b/image/main.ts index 8596db2..87889a1 100644 --- a/image/main.ts +++ b/image/main.ts @@ -42,7 +42,7 @@ for (const flie of flies) { router.get(url, ctx => { ctx.body = Com.create(item.element, { ...item.options, - html_head: `${item?.html_head ?? ''}`, + html_head: `${item?.options?.html_head ?? ''}`, file_create: false }) })