Update deps

This commit is contained in:
Jonathan Cremin 2020-06-14 22:49:49 +01:00
parent 78df53d569
commit 2a842a8c1f
6 changed files with 106 additions and 7 deletions

3
app.js
View file

@ -45,6 +45,7 @@ app.on('error', (err, ctx) => {
return Sentry.Handlers.parseRequest(event, ctx.request);
});
Sentry.captureException(err);
debug(err);
});
}
});
@ -54,7 +55,7 @@ app.use(errorHandler(Sentry));
app.use(bodyparser());
app.use(cors());
app.use(compress({ flush: zlib.Z_SYNC_FLUSH }));
app.use(favicon(path.join(__dirname, '/public/images/favicon.png')));
app.use(favicon(path.join(__dirname, '/public/assets/images/favicon.png')));
app.use(logger());
app.use(serve('public', { maxage: 31536000000 }));