1
0
mirror of https://github.com/mgerb/mywebsite synced 2026-01-11 18:32:50 +00:00

added discord and other minor changes

This commit is contained in:
2015-10-21 08:24:56 -05:00
parent 5f1fa1cf96
commit 3a7d611871
4 changed files with 10 additions and 3 deletions

3
app.js
View File

@@ -51,7 +51,7 @@ app.use(function(req, res, next) {
// development error handler
// will print stacktrace
/*
if (app.get('env') === 'development') {
app.use(function(err, req, res, next) {
res.status(err.status || 500);
@@ -61,6 +61,7 @@ if (app.get('env') === 'development') {
});
});
}
*/
// production error handler
// no stacktraces leaked to user