parent
3fd2bfdde7
commit
ff3c9a1149
|
@ -42,7 +42,7 @@ for (const flie of flies) {
|
||||||
router.get(url, ctx => {
|
router.get(url, ctx => {
|
||||||
ctx.body = Com.create(item.element, {
|
ctx.body = Com.create(item.element, {
|
||||||
...item.options,
|
...item.options,
|
||||||
html_head: `${item?.html_head ?? ''}<link rel="stylesheet" href="/output.css">`,
|
html_head: `${item?.options?.html_head ?? ''}<link rel="stylesheet" href="/output.css">`,
|
||||||
file_create: false
|
file_create: false
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue