From 3a4c2d8f13c295b723f1a910726d62f073548228 Mon Sep 17 00:00:00 2001 From: Gazook89 <58999374+Gazook89@users.noreply.github.com> Date: Thu, 1 Dec 2022 10:58:27 -0600 Subject: [PATCH] change image property to reference default image property Co-authored-by: Trevor Buckner --- server/app.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/app.js b/server/app.js index 49290727b..8e86d5ec9 100644 --- a/server/app.js +++ b/server/app.js @@ -272,7 +272,8 @@ app.get('/edit/:id', asyncHandler(getBrew('edit')), (req, res, next)=>{ 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' };