From ff3c9a114913daf1ef808728d643c56aae4b8d99 Mon Sep 17 00:00:00 2001 From: loneyclown Date: Sat, 15 Jun 2024 00:23:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=83=AD=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E8=87=AA=E5=AE=9A=E4=B9=89css=E6=97=A0=E6=B3=95=E8=A2=AB?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E5=8A=A0=E8=BD=BD=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复热加载自定义css无法被正确加载。 --- image/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }) })