Semi functional client webUI
- can update client info for sure - Working on notifications now
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
var express = require('express');
|
||||
var router = express.Router();
|
||||
const { getFullConfig } = require('../utilities/configHandler');
|
||||
|
||||
/* GET home page. */
|
||||
router.get('/', function(req, res, next) {
|
||||
res.render('index', { title: 'Express' });
|
||||
router.get('/', async function(req, res, next) {
|
||||
const clientConfig = await getFullConfig();
|
||||
res.render('index', { 'node': clientConfig });
|
||||
});
|
||||
|
||||
module.exports = router;
|
||||
|
||||
Reference in New Issue
Block a user