Breeze/breeze.js.samples

Possible typo in zza-node-mongo

Opened this issue · 0 comments

First off, thank you for putting together such helpful demo projects (and, of course, for creating a killer library).

I wanted to point out a possible typo in Line 59 of zza-node-mongo/server/breeze-routes.js. The line appears as:

res.setHeader("Content-Type:", "application/json");

which throws an error, apparently due to the : after Content-Type. Changing it to:

res.setHeader("Content-Type", "application/json");

allows the project to run properly.

Please let me know if the colon was intentional.

Cheers!