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:
3
app.js
3
app.js
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user