1
0
Fork 0

quick fix - app name not visible

This commit is contained in:
Ruben Meyer 2020-10-26 21:59:19 +01:00
parent 8c6124473f
commit 94058b8d69
Signed by: rxbn_
GPG Key ID: BE3BF898BE352FE2
1 changed files with 3 additions and 1 deletions

View File

@ -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) => {