0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 17:02:40 +00:00

WIP trying to debug theme selection.

This commit is contained in:
David Bolack
2024-02-27 17:30:14 -06:00
parent 4f4659b0e2
commit 50c9d95ce0
4 changed files with 9 additions and 11 deletions

View File

@@ -286,9 +286,6 @@ app.get('/user/:username', async (req, res, next)=>{
//Edit Page
app.get('/edit/:id', asyncHandler(getBrew('edit')), async(req, res, next)=>{
req.brew = req.brew.toObject ? req.brew.toObject() : req.brew;
console.log('edit');
console.log(req);
console.log('edit');
req.ogMeta = { ...defaultMetaTags,
title : req.brew.title || 'Untitled Brew',