0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 14:12:40 +00:00

Fix all brews being forced to V3 on load

This commit is contained in:
Trevor Buckner
2023-01-04 21:32:16 -05:00
parent b717059a39
commit c78d687387

View File

@@ -408,9 +408,6 @@ if(isLocalEnvironment){
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,
@@ -420,7 +417,7 @@ app.use(asyncHandler(async (req, res, next)=>{
const props = {
version : require('./../package.json').version,
url : req.originalUrl,
brew : brew,
brew : req.brew,
brews : req.brews,
googleBrews : req.googleBrews,
account : req.account,