This commit is contained in:
Thomas Forgione 2019-03-22 12:06:09 +01:00
parent d3a04d47f3
commit 75fc405f5c
No known key found for this signature in database
GPG Key ID: 203DAEA747F48F41
1 changed files with 1 additions and 1 deletions

View File

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