0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-29 15:32:40 +00:00

Shift HomePage to use a minimal brew

This commit is contained in:
G.Ambatte
2021-07-29 19:00:26 +12:00
parent 7fa1e16b5a
commit fdfea36614
3 changed files with 14 additions and 12 deletions

View File

@@ -107,7 +107,11 @@ app.get('/robots.txt', (req, res)=>{
//Home page
app.get('/', async (req, res, next)=>{
req.welcomeText = welcomeText;
const brew = {
text : welcomeText,
welcomeText : welcomeText
};
req.brew = brew;
return next();
});