claudioc / jingo

Node.js based Wiki
MIT License
1.02k stars 182 forks source link

exppress-validator not properly instantiated in express pipeline. #18

Closed saabi closed 11 years ago

saabi commented 11 years ago

When I initially downloaded jingo through git, it was hanging on every request.

After looking at the code I noticed that express-validator wasn't being instantiated properly.

Instead of:

  app.use(expValidator);

it should be

  app.use(expValidator());
saabi commented 11 years ago

I just noticed somebody else found the same error and created an issue. Sorry about posting the issue twice!

claudioc commented 11 years ago

Oh, interesting. I guess this problem is with new version(s) of node. OK, I'll merge it. Thanks!