0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-01 19:32:42 +00:00

Add publicUrl as configuration item

This commit is contained in:
G.Ambatte
2022-03-25 17:05:35 +13:00
parent a11e93ef54
commit 4b6fb9f595
3 changed files with 4 additions and 2 deletions

View File

@@ -264,6 +264,7 @@ const templateFn = require('./../client/template.js');
app.use((req, res)=>{
const props = {
version : require('./../package.json').version,
publicUrl : config.get('publicUrl'),
url : req.originalUrl,
brew : req.brew,
brews : req.brews,