diff --git a/server.js b/server.js index e155b24..2c3e7d8 100644 --- a/server.js +++ b/server.js @@ -101,7 +101,7 @@ app.use(fileUpload()); app.get('/', (req, res) => { fs.readFile('assets/data.json', 'utf-8', (err, data) => { if (err != null) { - console.log("Error: " + e); + console.log(err); } let parsed = parse(data); res.render('index', parsed);