mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
v3: review some more files, add logging for unhandled promises
This commit is contained in:
@@ -49,7 +49,7 @@ module.exports = function attachMiddlewares (app, server) {
|
||||
extended: true, // Uses 'qs' library as old connect middleware
|
||||
}));
|
||||
app.use(bodyParser.json());
|
||||
app.use(methodOverride()); // TODO still needed in 2016?
|
||||
app.use(methodOverride());
|
||||
|
||||
app.use(cookieSession({
|
||||
name: 'connect:sess', // Used to keep backward compatibility with Express 3 cookies
|
||||
|
||||
Reference in New Issue
Block a user