0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 14:12:40 +00:00

Add brew locale to opengraph localization

This commit is contained in:
David Bolack
2025-06-30 12:39:30 -05:00
parent 7bdeeee9ef
commit 702ece6671

View File

@@ -383,6 +383,7 @@ app.get('/edit/:id', asyncHandler(getBrew('edit')), asyncHandler(async(req, res,
title : req.brew.title || 'Untitled Brew',
description : req.brew.description || 'No description.',
image : req.brew.thumbnail || defaultMetaTags.image,
local : req.brew.lang,
type : 'article'
};