mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-22 18:56:54 +00:00
Add publicUrl to global.config & update template
This commit is contained in:
1 parent
3ad6f1d794
commit
0e25793f0a
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -281,11 +281,11 @@ app.use((req, res)=>{
|
||||
// Create configuration object
|
||||
const configuration = {
|
||||
local : isLocalEnvironment,
|
||||
publicUrl : config.get('publicUrl') ?? '',
|
||||
environment : nodeEnv
|
||||
};
|
||||
const props = {
|
||||
version : require('./../package.json').version,
|
||||
publicUrl : config.get('publicUrl') ?? '',
|
||||
url : req.originalUrl,
|
||||
brew : req.brew,
|
||||
brews : req.brews,
|
||||
|
||||
Reference in new issue
Block a user