0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 18:32:41 +00:00

point to defaultMetatags.image

This commit is contained in:
Gazook89
2022-12-01 11:01:40 -06:00
parent 3a4c2d8f13
commit 3b6d3963f1

View File

@@ -304,7 +304,7 @@ app.get('/share/:id', asyncHandler(getBrew('share')), asyncHandler(async (req, r
req.ogMeta = { ...defaultMetaTags,
title : req.brew.title || 'Untitled Brew',
description : req.brew.description || 'No description.',
image : req.brew.thumbnail || `${config.get('publicUrl')}/thumbnail.png`,
image : req.brew.thumbnail || defaultMetaTags.image,
type : 'article'
};