From 94058b8d694f326484f42c5b2d256035cd3a7d49 Mon Sep 17 00:00:00 2001 From: rxbn_ Date: Mon, 26 Oct 2020 21:59:19 +0100 Subject: [PATCH] quick fix - app name not visible --- bin/web/auth/routes/static.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bin/web/auth/routes/static.js b/bin/web/auth/routes/static.js index 9d7c65c..02b005f 100644 --- a/bin/web/auth/routes/static.js +++ b/bin/web/auth/routes/static.js @@ -6,7 +6,9 @@ const cfg = require(global['__dirname']+'/bin/config'); route.all('/', function(req, res, next) { // TODO: show login page or dashboard // res.end('login or dashboard'); - res.render('auth/views/index'); + res.render('auth/views/index', { + appName: cfg.app.name + }); }); route.all('/*', (req, res, next) => {