0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-30 06:42:45 +00:00

adds meta tags for the Vault page

So they show up when sharing the link in Discord or wherever.
This commit is contained in:
Gazook89
2024-09-05 11:24:59 -05:00
parent 2e332d7699
commit 03c14e5847

View File

@@ -436,6 +436,10 @@ if(isLocalEnvironment){
//Vault Page
app.get('/vault', asyncHandler(async(req, res, next)=>{
req.ogMeta = { ...defaultMetaTags,
title : 'The Vault',
description : 'Search for Brews'
};
return next();
}));