mirror of
https://github.com/aljazceru/ditto.git
synced 2026-01-16 03:44:26 +01:00
format
This commit is contained in:
@@ -60,8 +60,7 @@ export const frontendController: AppMiddleware = async (c, next) => {
|
||||
try {
|
||||
const meta = metadataView(await buildTemplateOpts(params, Conf.local(c.req.path)));
|
||||
return c.html(content.replace(META_PLACEHOLDER, meta));
|
||||
}
|
||||
catch {
|
||||
} catch {
|
||||
return c.html(content);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user