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