0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-04 14:42:40 +00:00

Create minimal Changelog brew

This commit is contained in:
G.Ambatte
2021-07-28 17:51:35 +12:00
parent c6d0a2e2ad
commit 7fa1e16b5a
3 changed files with 6 additions and 4 deletions

View File

@@ -113,7 +113,11 @@ app.get('/', async (req, res, next)=>{
//Changelog page
app.get('/changelog', async (req, res, next)=>{
req.changelogText = changelogText;
const brew = {
title : 'Changelog',
text : changelogText
};
req.brew = brew;
return next();
});