mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-17 16:42:41 +00:00
cleanup
This commit is contained in:
@@ -149,7 +149,7 @@ app.get('/changelog', async (req, res, next)=>{
|
|||||||
req.ogMeta = { ...defaultMetaTags,
|
req.ogMeta = { ...defaultMetaTags,
|
||||||
title : 'Changelog',
|
title : 'Changelog',
|
||||||
description : 'Development changelog.',
|
description : 'Development changelog.',
|
||||||
thumbnail : null,
|
thumbnail : null
|
||||||
};
|
};
|
||||||
|
|
||||||
splitTextStyleAndMetadata(req.brew);
|
splitTextStyleAndMetadata(req.brew);
|
||||||
@@ -209,7 +209,7 @@ app.get('/user/:username', async (req, res, next)=>{
|
|||||||
req.ogMeta = { ...defaultMetaTags,
|
req.ogMeta = { ...defaultMetaTags,
|
||||||
title : `${req.params.username}'s Collection`,
|
title : `${req.params.username}'s Collection`,
|
||||||
description : 'View my collection of homebrew on the Homebrewery.',
|
description : 'View my collection of homebrew on the Homebrewery.',
|
||||||
image : null,
|
image : null
|
||||||
// type : could be 'profile'?
|
// type : could be 'profile'?
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -378,7 +378,7 @@ app.get('/account', asyncHandler(async (req, res, next)=>{
|
|||||||
req.ogMeta = { ...defaultMetaTags,
|
req.ogMeta = { ...defaultMetaTags,
|
||||||
title : `Account Page`,
|
title : `Account Page`,
|
||||||
description : null,
|
description : null,
|
||||||
image : null,
|
image : null
|
||||||
};
|
};
|
||||||
|
|
||||||
return next();
|
return next();
|
||||||
|
|||||||
Reference in New Issue
Block a user