mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
format
This commit is contained in:
parent
7c56b9dad8
commit
e4f24c3b26
1 changed files with 1 additions and 2 deletions
|
|
@ -60,8 +60,7 @@ export const frontendController: AppMiddleware = async (c, next) => {
|
||||||
try {
|
try {
|
||||||
const meta = metadataView(await buildTemplateOpts(params, Conf.local(c.req.path)));
|
const meta = metadataView(await buildTemplateOpts(params, Conf.local(c.req.path)));
|
||||||
return c.html(content.replace(META_PLACEHOLDER, meta));
|
return c.html(content.replace(META_PLACEHOLDER, meta));
|
||||||
}
|
} catch {
|
||||||
catch {
|
|
||||||
return c.html(content);
|
return c.html(content);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue