Semi functional client webUI

- can update client info for sure
- Working on notifications now
This commit is contained in:
Logan Cusano
2023-07-22 03:27:39 -04:00
parent 62c0504028
commit f5d58d45da
12 changed files with 964 additions and 47 deletions

View File

@@ -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;