0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-06-23 22:08:39 +00:00

Enable use of enable_v4 config variable

This commit is contained in:
David Bolack
2026-02-27 16:51:46 -06:00
parent 0d26ed2a0f
commit 33edc9600a
5 changed files with 19 additions and 31 deletions
+2 -1
View File
@@ -565,7 +565,8 @@ const renderPage = async (req, res)=>{
account : req.account,
config : configuration,
ogMeta : req.ogMeta,
userThemes : req.userThemes
userThemes : req.userThemes,
enable_v4 : config.get('enable_v4')
};
const title = req.brew ? req.brew.title : '';
const page = await templateFn('homebrew', title, props)