Breeze / breeze.js.samples

Breeze JavaScript Client sample applications
MIT License
96 stars 85 forks source link

Possible typo in zza-node-mongo #37

Open AaronJessen opened 8 years ago

AaronJessen commented 8 years ago

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!