feature: Add success message display for site creation

This commit is contained in:
Keith Solomon
2025-05-27 19:25:27 -05:00
parent cfba9672ef
commit 309e174a46
4 changed files with 77 additions and 2 deletions

View File

@@ -7,7 +7,7 @@ const sitesModel = new SiteModel();
router.get('/', async function(req, res, next) {
const sites = await sitesModel.getAll();
// console.log('Sites:', sites);
res.render('index', { title: 'Playwright Testing Dashboard', sites: sites });
res.render('index', { title: 'Playwright Testing Dashboard', sites: sites, msg: '' });
});
module.exports = router;