0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-17 16:42:41 +00:00
This commit is contained in:
Trevor Buckner
2022-11-17 22:58:46 -05:00
parent 14a057cf55
commit c09a4c4374

View File

@@ -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();