mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-02 02:02:43 +00:00
Cleanup; added more fields to DEFAULT_BREW
This commit is contained in:
@@ -407,7 +407,10 @@ if(isLocalEnvironment){
|
||||
//Render the page
|
||||
const templateFn = require('./../client/template.js');
|
||||
app.use(asyncHandler(async (req, res, next)=>{
|
||||
|
||||
// Assuming we have not received a brew yet, populate with default values
|
||||
const brew = _.defaults(req.brew, DEFAULT_BREW);
|
||||
|
||||
// Create configuration object
|
||||
const configuration = {
|
||||
local : isLocalEnvironment,
|
||||
|
||||
Reference in New Issue
Block a user