node-run-middleware icon indicating copy to clipboard operation
node-run-middleware copied to clipboard

Removed preset of req.cookies which conflicted with cookie-parse package

Open dustinbolton opened this issue 1 year ago • 0 comments

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.

dustinbolton avatar Jan 23 '24 06:01 dustinbolton