quick fix - app name not visible
This commit is contained in:
parent
8c6124473f
commit
94058b8d69
|
@ -6,7 +6,9 @@ const cfg = require(global['__dirname']+'/bin/config');
|
||||||
route.all('/', function(req, res, next) {
|
route.all('/', function(req, res, next) {
|
||||||
// TODO: show login page or dashboard
|
// TODO: show login page or dashboard
|
||||||
// res.end('login 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) => {
|
route.all('/*', (req, res, next) => {
|
||||||
|
|
Loading…
Reference in New Issue