node-run-middleware
node-run-middleware copied to clipboard
Removed preset of req.cookies which conflicted with cookie-parse package
Express does not populate req.cookies by default. This break the popular "cookie-parse" middleware package as it sees the empty object and does not parse cookies. Removing this empty object default fixes the problem.