Import path fix

This commit is contained in:
2026-02-25 12:35:21 -05:00
parent b522e5064a
commit 0a63e05028
8 changed files with 14 additions and 129 deletions
+2 -2
View File
@@ -25,8 +25,8 @@ frontEndModules.forEach(dep => {
// local folder.
router.use('/static', express.static(path.join(__dirname, '../public')))
router.get('/', async function(req, res, next) {
res.render('hosts', {...values});
router.get('/', (req, res) => {
res.redirect(301, '/hosts');
});
router.get('/hosts', async function(req, res, next) {