From 46231f5c7c8be5cb3c270990d098b68c0811b504 Mon Sep 17 00:00:00 2001 From: Nikola Petrov Date: Thu, 20 Jul 2023 23:46:23 +0200 Subject: [PATCH] formating --- routes/list.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/routes/list.js b/routes/list.js index c36ddef..07e5386 100644 --- a/routes/list.js +++ b/routes/list.js @@ -12,8 +12,7 @@ router.get('/', function(req, res, next) { const f = fs.readdirSync('./public/assets/list/'); f.forEach(file => { - - data.scripts.push("/assets/list/"+file); + data.scripts.push("/assets/list/" + file); }); res.render('list', data);