0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-03 14:52:38 +00:00

Revert to use local consts instead of config vars

This commit is contained in:
G.Ambatte
2024-10-09 14:57:04 +13:00
parent e75eb72d3f
commit 291e16b124
2 changed files with 3 additions and 12 deletions

View File

@@ -475,8 +475,7 @@ const renderPage = async (req, res)=>{
const configuration = {
local : isLocalEnvironment,
publicUrl : config.get('publicUrl') ?? '',
environment : nodeEnv,
history : config.get('historyConfig') ?? {}
environment : nodeEnv
};
const props = {
version : require('./../package.json').version,